Use core.php to load Autoloader and initialise everything.

Signed-off-by: Markus Birth <mbirth@gmail.com>
This commit is contained in:
2014-01-11 04:25:36 +01:00
parent 1c26ec4db0
commit d8dfe69821
7 changed files with 23 additions and 9 deletions

View File

@ -11,7 +11,7 @@
***************************************************************************/
// load Composer autoloader, if not yet done
require_once dirname(__FILE__) . '/../vendor/autoload.php';
require_once __DIR__ . '/../lib/core.php';
// check for broken browsers
$useragent = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : "";