diff options
author | Nils Adermann <naderman@naderman.de> | 2013-07-14 14:29:11 -0400 |
---|---|---|
committer | Nils Adermann <naderman@naderman.de> | 2013-07-14 14:29:11 -0400 |
commit | 4311cd65e30b994c5ecd07baf0a508f40d51f155 (patch) | |
tree | 5331feafb81e811c93ae0335889166c7398202f4 /phpBB/install | |
parent | d4d3d311b926cf3d0df4b3c6ccc4731a0345ca18 (diff) | |
download | forums-4311cd65e30b994c5ecd07baf0a508f40d51f155.tar forums-4311cd65e30b994c5ecd07baf0a508f40d51f155.tar.gz forums-4311cd65e30b994c5ecd07baf0a508f40d51f155.tar.bz2 forums-4311cd65e30b994c5ecd07baf0a508f40d51f155.tar.xz forums-4311cd65e30b994c5ecd07baf0a508f40d51f155.zip |
[ticket/11700] Instantiate the class loader with namespace rather than prefix
PHPBB3-11700
Diffstat (limited to 'phpBB/install')
-rw-r--r-- | phpBB/install/database_update.php | 2 | ||||
-rw-r--r-- | phpBB/install/index.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php index cd6fb7931b..19db0a9fc1 100644 --- a/phpBB/install/database_update.php +++ b/phpBB/install/database_update.php @@ -95,7 +95,7 @@ require($phpbb_root_path . 'includes/utf/utf_tools.' . $phpEx); set_error_handler(defined('PHPBB_MSG_HANDLER') ? PHPBB_MSG_HANDLER : 'msg_handler'); // Setup class loader first -$phpbb_class_loader = new phpbb_class_loader('phpbb_', "{$phpbb_root_path}phpbb/", $phpEx); +$phpbb_class_loader = new phpbb_class_loader('phpbb\\', "{$phpbb_root_path}phpbb/", $phpEx); $phpbb_class_loader->register(); // Set up container (must be done here because extensions table may not exist) diff --git a/phpBB/install/index.php b/phpBB/install/index.php index 45e5777e36..65f33766b5 100644 --- a/phpBB/install/index.php +++ b/phpBB/install/index.php @@ -90,7 +90,7 @@ include($phpbb_root_path . 'includes/utf/utf_tools.' . $phpEx); require($phpbb_root_path . 'includes/functions_install.' . $phpEx); // Setup class loader first -$phpbb_class_loader = new phpbb_class_loader('phpbb_', "{$phpbb_root_path}phpbb/", $phpEx); +$phpbb_class_loader = new phpbb_class_loader('phpbb\\', "{$phpbb_root_path}phpbb/", $phpEx); $phpbb_class_loader->register(); $phpbb_class_loader_ext = new phpbb_class_loader('phpbb_ext_', "{$phpbb_root_path}ext/", $phpEx); $phpbb_class_loader_ext->register(); |