changing to require

This commit is contained in:
rootcoma 2013-12-05 16:07:13 -08:00
parent 3c6d269eb0
commit 21521bc043
1 changed files with 3 additions and 3 deletions

View File

@ -1,11 +1,11 @@
<?php
// Load config
include "config/config.php"; // $config
require "config/config.php"; // $config
// Load routes
include $config['configLocation'] . "routes.php"; // $routes
require $config['configLocation'] . "routes.php"; // $routes
// Make the autoloader, requires $config
include $config['libLocation'] . "autoload.php";
require $config['libLocation'] . "autoload.php";
// some base folder hacking for websites not in base dir
$config['baseFolder'] = dirname($_SERVER['PHP_SELF']);