1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

[ticket/12784] Allow the extensions to add a custom auto loader

PHPBB3-12784
This commit is contained in:
Tristan Darricau
2014-07-01 20:53:10 +02:00
parent 404c2f1144
commit fbc15407a2
3 changed files with 31 additions and 0 deletions

View File

@@ -59,6 +59,8 @@ if (isset($_GET['avatar']))
$phpbb_class_loader_ext = new \phpbb\class_loader('\\', "{$phpbb_root_path}ext/", $phpEx);
$phpbb_class_loader_ext->register();
phpbb_load_extensions_autoloaders($phpbb_root_path);
// Set up container
$phpbb_container = phpbb_create_default_container($phpbb_root_path, $phpEx);