undo install verification

This commit is contained in:
Manuel Raynaud
2014-04-18 17:38:02 +02:00
parent 87ae0e5351
commit 174b96903b

View File

@@ -23,9 +23,5 @@
define('THELIA_INSTALL_MODE', true); define('THELIA_INSTALL_MODE', true);
include __DIR__ . "/../../core/bootstrap.php"; include __DIR__ . "/../../core/bootstrap.php";
if (file_exists(THELIA_ROOT . '/local/config/database.yml')) {
throw new \Thelia\Install\Exception\AlreadyInstallException("Thelia is already installed");
}
$thelia = new \Thelia\Core\Thelia("install", false); $thelia = new \Thelia\Core\Thelia("install", false);
$thelia->boot(); $thelia->boot();