Created
July 22, 2013 18:44
-
-
Save meniam/6056416 to your computer and use it in GitHub Desktop.
Zend Autoloader
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// if composer autoloader is missing, explicitly add the ZF library path | |
require_once __DIR__ . '/../vendor/' . 'zendframework/library/Zend/Loader/StandardAutoloader.php'; | |
$loader = new Zend\Loader\StandardAutoloader( | |
array( | |
Zend\Loader\StandardAutoloader::LOAD_NS => array( | |
'Zend' => __DIR__ . '/../vendor/zendframework/library/Zend', | |
'Model' => __DIR__ . '/../Model', | |
'ModelTest' => __DIR__ . '/ModelTest', | |
), | |
)); | |
$loader->register(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Зачем? Ты потерял composer? О_о