mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[feature/event-dispatcher] Use real EventDispatcher through composer
* replace the copy-pasta EventDispatcher with the real one from Symfony2 * use composer for managing this dependency, use composer autoloading PHPBB3-9550
This commit is contained in:
@@ -82,6 +82,8 @@ if (!empty($load_extensions) && function_exists('dl'))
|
||||
}
|
||||
}
|
||||
|
||||
require($phpbb_root_path . 'vendor/.composer/autoload.php');
|
||||
|
||||
// Include files
|
||||
require($phpbb_root_path . 'includes/class_loader.' . $phpEx);
|
||||
require($phpbb_root_path . 'includes/session.' . $phpEx);
|
||||
|
@@ -69,6 +69,8 @@ else
|
||||
}
|
||||
@ini_set('memory_limit', $mem_limit);
|
||||
|
||||
require($phpbb_root_path . 'vendor/.composer/autoload.php');
|
||||
|
||||
// Include essential scripts
|
||||
require($phpbb_root_path . 'includes/class_loader.' . $phpEx);
|
||||
require($phpbb_root_path . 'includes/functions.' . $phpEx);
|
||||
|
Reference in New Issue
Block a user