refactor propel configuration
This commit is contained in:
@@ -13,8 +13,9 @@ $loader = require __DIR__ . "/vendor/autoload.php";
|
||||
|
||||
|
||||
|
||||
if (file_exists(THELIA_ROOT . '/local/config/config_db.php')) {
|
||||
require THELIA_ROOT . '/local/config/config_db.php';
|
||||
} else {
|
||||
if (!file_exists(THELIA_ROOT . '/local/config/database.yml')) {
|
||||
define('THELIA_INSTALL_MODE',true);
|
||||
}
|
||||
/*else {
|
||||
define('THELIA_INSTALL_MODE',true);
|
||||
}*/
|
||||
|
||||
Reference in New Issue
Block a user