removed 'application' folder to have everything in the root directory

This commit is contained in:
Steffen Schröder
2014-09-29 18:20:09 +02:00
parent 1569fd5488
commit 9642433363
284 changed files with 4 additions and 50 deletions

15
libs/Symfony/autoload.php Normal file
View File

@ -0,0 +1,15 @@
<?php
if (!defined('EVENT_DISPATCHER_PATH')) {
define('EVENT_DISPATCHER_PATH', __DIR__);
}
spl_autoload_register(
function ($className) {
$classPath = str_replace('\\', DIRECTORY_SEPARATOR, $className);
$filePath = EVENT_DISPATCHER_PATH . DIRECTORY_SEPARATOR . $classPath . '.php';
if (file_exists($filePath)) {
require_once $filePath;
}
});