summaryrefslogtreecommitdiffstats
path: root/php-zendframework-zend-loader-autoload.php
blob: 659144abccd748e9f6498b45feca409ca96ba986 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php
/*
Simple autoloader for Zend Framework
Inspired from https://github.com/zendframework/ZendSkeletonApplication

Set autoregister_zf     for Zend Framework
Set fallback_autoloader for dependencies which are PSR-0 compliant
*/
require_once __DIR__ . '/Loader/AutoloaderFactory.php';
Zend\Loader\AutoloaderFactory::factory(array(
    'Zend\Loader\StandardAutoloader' => array(
        'fallback_autoloader' => true,
        'autoregister_zf' => true
     )
));