changes instalation checking

This commit is contained in:
Taras Machyshyn
2014-03-03 13:10:53 +02:00
parent 371bba1ee8
commit 9f8edcd1b1
2 changed files with 10 additions and 5 deletions
+1 -5
View File
@@ -4,11 +4,7 @@ include "bootstrap.php";
$app = new \Espo\Core\Application();
$configFile = $app->getContainer()->get('config')->get('configPath');
if (!file_exists($configFile)) {
header("Location: install/");
exit;
}
$app->isInstalled();
if (empty($_GET['entryPoint'])) {
include "main.html";