summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-09-02 16:05:25 +0200
committerRemi Collet <fedora@famillecollet.com>2015-09-02 16:05:25 +0200
commit504d9b376a86b0d534b544704649c09859adc467 (patch)
tree9e4357203bfa068d8ce50878963f9ad031f1e2de
parentee8597cf43b6acc7aacf222dddf65d3c6e6077d0 (diff)
missing files
-rw-r--r--ZendFramework-autoload.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/ZendFramework-autoload.php b/ZendFramework-autoload.php
new file mode 100644
index 0000000..659144a
--- /dev/null
+++ b/ZendFramework-autoload.php
@@ -0,0 +1,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
+ )
+));