Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Zend Framework 2 in a ZF1 project

define('ZF2_PATH', '/path/to/zf2/library');
require_once ZF2_PATH . '/Zend/Loader/StandardAutoloader.php';
$loader = new ZendLoaderStandardAutoloader(array(
    'autoregister_zf' => true,
));
$loader->register();
Source by framework.zend.com #
 
PREVIOUS NEXT
Tagged: #Zend #Framework #project
ADD COMMENT
Topic
Name
4+5 =