From 9d36c2489dd8b603124126272cf6481dde13a8da Mon Sep 17 00:00:00 2001 From: glendemon Date: Sun, 15 Nov 2015 18:32:31 +0300 Subject: [PATCH] Update README.md load yii before config. Needed to use CMap in test config. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e582c10..1f5e18b 100644 --- a/README.md +++ b/README.md @@ -33,13 +33,13 @@ defined('DS') or define('DS', DIRECTORY_SEPARATOR); defined('YII_DEBUG') or define('YII_DEBUG',true); defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3); -// Load the config files -$config = require __DIR__.DS.'protected'.DS.'config'.DS.'test.php'; - // Load Yii and Composer extensions require_once __DIR__.DS.'vendor'.DS.'yiisoft'.DS.'yii'.DS.'framework'.DS.'yii.php'; require_once __DIR__.DS.'vendor'.DS.'autoload.php'; +// Load the config files +$config = require __DIR__.DS.'protected'.DS.'config'.DS.'test.php'; + // Return for Codeception return array( 'class' => 'CWebApplication',