fixed isInstalled()

This commit is contained in:
Taras Machyshyn
2014-04-16 16:41:11 +03:00
parent 702b5bb83c
commit 645d7353d6
3 changed files with 14 additions and 17 deletions
+7 -4
View File
@@ -18,17 +18,20 @@
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
************************************************************************/
************************************************************************/
include "bootstrap.php";
$app = new \Espo\Core\Application();
$app->isInstalled();
if (!$app->isInstalled()) {
header("Location: install/");
exit;
}
if (!empty($_GET['entryPoint'])) {
$app->runEntryPoint($_GET['entryPoint']);
exit;
exit;
}
$app->runClient();