Details
-
Bug
-
Resolution: Fixed
-
Medium
-
4.2.0, 4.2.0alpha1, 4.3.0
-
None
Description
If I do autoloading in the config.php... nothing goes well...
My config looks like this... I use zend framework in addition...
If you then generat the autoloads again you get a fatal error.
My patch solves this... it is rather simple.... you use the default automload...
<?php set_include_path( get_include_path() . PATH_SEPARATOR . '/var/www/include/ZendFramework-1.9.2/library' ); date_default_timezone_set( 'America/Chicago' ); define( 'EZP_INI_FILEMTIME_CHECK', false ); define( 'EZP_AUTOLOAD_ALLOW_KERNEL_OVERRIDE', false ); if ( file_exists( 'lib/ezc' ) ) { define( 'EZP_USE_BUNDLED_COMPONENTS', true ); } define( 'EZP_INI_FILE_PERMISSION', 0666 ); // Zend autoload require_once 'Zend/Loader/Autoloader.php'; $ZendLoader = Zend_Loader_Autoloader::getInstance(); spl_autoload_register( array( 'Zend_Loader_Autoloader', 'autoload' ) ); ?>