Added __DIR__ to autoload.php

This commit is contained in:
Tobias Reich 2014-04-09 20:13:20 +02:00
parent b727211f47
commit 43cbea45e1

View File

@ -7,7 +7,7 @@
*/
function __autoload($class_name) {
require './modules/' . $class_name . '.php';
require __DIR__ . '/modules/' . $class_name . '.php';
}
?>