refactor propel configuration

This commit is contained in:
Manuel Raynaud
2013-03-26 17:25:10 +01:00
parent f8cbfbd858
commit 8433c5d555
13 changed files with 237 additions and 101 deletions

View File

@@ -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);
}*/