1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

Merge remote-tracking branch 'igorw/ticket/11183' into develop

* igorw/ticket/11183:
  [ticket/11183] Remove $load_extensions and weird dl() calls
This commit is contained in:
Andreas Fischer
2012-11-10 14:02:45 +01:00
8 changed files with 23 additions and 125 deletions

View File

@@ -67,18 +67,6 @@ if (!defined('PHPBB_INSTALLED'))
exit;
}
// Load Extensions
// dl() is deprecated and disabled by default as of PHP 5.3.
if (!empty($load_extensions) && function_exists('dl'))
{
$load_extensions = explode(',', $load_extensions);
foreach ($load_extensions as $extension)
{
@dl(trim($extension));
}
}
// Include files
require($phpbb_root_path . 'includes/class_loader.' . $phpEx);
require($phpbb_root_path . 'includes/di/processor/interface.' . $phpEx);