Dossier autoload

This commit is contained in:
Michael RICOIS 2015-07-22 12:09:15 +00:00
parent a69bc80c1a
commit e3d07e3d4f
2 changed files with 10 additions and 10 deletions

View File

@ -18,14 +18,14 @@ require_once 'Zend/Loader/AutoloaderFactory.php';
require_once 'Zend/Loader/ClassMapAutoloader.php';
Zend_Loader_AutoloaderFactory::factory(array(
'Zend_Loader_ClassMapAutoloader' => array(
__DIR__ . '/../../library/autoload_classmap.php',
__DIR__ . '/../library/autoload_classmap.php',
),
'Zend_Loader_StandardAutoloader' => array(
'prefixes' => array(
'Zend' => __DIR__ . '/../../library/Zend',
'Scores' => __DIR__ . '/../../library/Scores',
'SdMetier' => __DIR__ . '/../../library/SdMetier',
'Metier' => __DIR__ . '/../../library/Metier',
'Zend' => __DIR__ . '/../library/Zend',
'Scores' => __DIR__ . '/../library/Scores',
'SdMetier' => __DIR__ . '/../library/SdMetier',
'Metier' => __DIR__ . '/../library/Metier',
),
'fallback_autoloader' => true
)

View File

@ -19,14 +19,14 @@ require_once 'Zend/Loader/AutoloaderFactory.php';
require_once 'Zend/Loader/ClassMapAutoloader.php';
Zend_Loader_AutoloaderFactory::factory(array(
'Zend_Loader_ClassMapAutoloader' => array(
__DIR__ . '/../../library/autoload_classmap.php',
__DIR__ . '/../library/autoload_classmap.php',
),
'Zend_Loader_StandardAutoloader' => array(
'prefixes' => array(
'Zend' => __DIR__ . '/../../library/Zend',
'Scores' => __DIR__ . '/../../library/Scores',
'SdMetier' => __DIR__ . '/../../library/SdMetier',
'Metier' => __DIR__ . '/../../library/Metier',
'Zend' => __DIR__ . '/../library/Zend',
'Scores' => __DIR__ . '/../library/Scores',
'SdMetier' => __DIR__ . '/../library/SdMetier',
'Metier' => __DIR__ . '/../library/Metier',
),
'fallback_autoloader' => true
)