mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
FIX Ensure that Zend_ classes can still be autoloaded
This commit is contained in:
parent
77bfea1197
commit
232b218dfb
@ -54,6 +54,14 @@ mb_regex_encoding('UTF-8');
|
||||
*/
|
||||
gc_enable();
|
||||
|
||||
/**
|
||||
* Include the Zend autoloader. This will be removed in the near future.
|
||||
*/
|
||||
if (file_exists('thirdparty/Zend/Loader/Autoloader.php')) {
|
||||
require_once 'thirdparty/Zend/Loader/Autoloader.php';
|
||||
Zend_Loader_Autoloader::getInstance();
|
||||
}
|
||||
|
||||
// Initialise the dependency injector as soon as possible, as it is
|
||||
// subsequently used by some of the following code
|
||||
$injector = new Injector(array('locator' => 'SilverStripe\\Core\\Injector\\SilverStripeServiceConfigurationLocator'));
|
||||
|
Loading…
Reference in New Issue
Block a user