diff options
Diffstat (limited to 'dev-php/theseer-Autoload/files/autoload.php.tpl')
-rw-r--r-- | dev-php/theseer-Autoload/files/autoload.php.tpl | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/dev-php/theseer-Autoload/files/autoload.php.tpl b/dev-php/theseer-Autoload/files/autoload.php.tpl new file mode 100644 index 000000000000..cb88eb77c450 --- /dev/null +++ b/dev-php/theseer-Autoload/files/autoload.php.tpl @@ -0,0 +1,26 @@ +<?php + +require_once 'TheSeer/DirectoryScanner/autoload.php'; +require_once 'ezc/Base/autoload.php'; +require_once 'ezc/ConsoleTools/autoload.php'; + +// @codingStandardsIgnoreFile +// @codeCoverageIgnoreStart +// this is an autogenerated file - do not edit +spl_autoload_register( + function($class) { + static $classes = null; + if ($classes === null) { + $classes = array( + ___CLASSLIST___ + ); + } + $cn = strtolower($class); + if (isset($classes[$cn])) { + require ___BASEDIR___$classes[$cn]; + } + }, + true, + false +); +// @codeCoverageIgnoreEnd |