mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-29 21:10:31 +02:00
added extension loading. please note the additional variable '
$load_extensions = "";' within config.php. git-svn-id: file:///svn/phpbb/trunk@3528 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -44,6 +44,17 @@ if (!defined('PHPBB_INSTALLED'))
|
||||
exit;
|
||||
}
|
||||
|
||||
// Load Extensions
|
||||
if ( (isset($load_extensions)) && ($load_extensions != '') )
|
||||
{
|
||||
$load_extensions = explode(',', $load_extensions);
|
||||
|
||||
for ($i = 0; $i < count($load_extensions); $i++)
|
||||
{
|
||||
@dl(trim($load_extensions[$i]));
|
||||
}
|
||||
}
|
||||
|
||||
// Include files
|
||||
require($phpbb_root_path . 'includes/acm/cache_' . $acm_type . '.'.$phpEx);
|
||||
require($phpbb_root_path . 'db/' . $dbms . '.'.$phpEx);
|
||||
|
Reference in New Issue
Block a user