updated file reader to curl-easy

This commit is contained in:
kremsy
2014-02-18 18:13:59 +01:00
committed by Steffen Schröder
parent d1948f4142
commit 15f0164287
4 changed files with 85 additions and 183 deletions

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;
}
});