Load system configuration before Context::init()

This commit is contained in:
Kijin Sung 2016-02-04 20:41:53 +09:00
parent 2cbecff729
commit 89db7c7c7c
2 changed files with 7 additions and 5 deletions

View file

@ -191,7 +191,9 @@ spl_autoload_register(function($class_name)
/**
* Also include the Composer autoloader.
*/
if (file_exists(RX_BASEDIR . 'vendor/autoload.php'))
{
require_once RX_BASEDIR . 'vendor/autoload.php';
}
require_once RX_BASEDIR . 'vendor/autoload.php';
/**
* Load system configuration.
*/
Rhymix\Framework\Config::init();