From 65d427dec94ae75f378d6a0d9306b5f285de157d Mon Sep 17 00:00:00 2001
From: Laurent Giovannoni <laurent.giovannoni@maarch.org>
Date: Sat, 12 May 2012 09:03:36 +0000
Subject: [PATCH] evo: add test if install dir exists

---
 core/trunk/index.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/trunk/index.php b/core/trunk/index.php
index 0fce31253d6..ff8e2251aca 100644
--- a/core/trunk/index.php
+++ b/core/trunk/index.php
@@ -36,7 +36,7 @@ $core = new core_tools();
 $_SESSION['custom_override_id'] = $core->get_custom_id();
 /**** retrieve HTTP_REQUEST FROM SSO ****/
 $_SESSION['HTTP_REQUEST'] = $_REQUEST;
-if (!file_exists('installed.lck')) {
+if (!file_exists('installed.lck') && is_dir('install')) {
     header('location: install/index.php');
     exit;
 }
-- 
GitLab