summaryrefslogtreecommitdiffstats
path: root/php-zendframework-zendservice-recaptcha-autoload.php
blob: a0a7585098ae6236cbb2cbda371dc9aebf7a6cc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php
/*
Simple autoloader for Zend Framework + ZendService components
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 '/usr/share/php/Zend//Loader/AutoloaderFactory.php';
Zend\Loader\AutoloaderFactory::factory(array(
    'Zend\Loader\StandardAutoloader' => array(
        'fallback_autoloader' => true,
        'autoregister_zf' => true,
        'namespaces' => array(
           'ZendService' => dirname(__DIR__)
))));