Fix
This commit is contained in:
parent
acbec4447b
commit
2b709d25e8
|
@ -23,7 +23,11 @@ spl_autoload_register(function ($class)
|
||||||
define('APPLICATION_PATH', dirname(__FILE__) . '/');
|
define('APPLICATION_PATH', dirname(__FILE__) . '/');
|
||||||
|
|
||||||
require_once('vendor/autoload.php');
|
require_once('vendor/autoload.php');
|
||||||
require('config.php');
|
|
||||||
|
if(file_exists(APPLICATION_PATH . 'config.php'))
|
||||||
|
{
|
||||||
|
require('config.php');
|
||||||
|
}
|
||||||
|
|
||||||
b8\Registry::getInstance()->set('app_namespace', 'PHPCI');
|
b8\Registry::getInstance()->set('app_namespace', 'PHPCI');
|
||||||
b8\Registry::getInstance()->set('DefaultController', 'Index');
|
b8\Registry::getInstance()->set('DefaultController', 'Index');
|
||||||
|
|
Loading…
Reference in a new issue