Code

Added new constant named CONFIG_FILE.
[gosa.git] / setup / class_setup.inc
index d93bc4b6765e1e1e3e1590e6fe7089a59eefbe26..83311ed2f9dec5e12d61ae8a6a58242b77112090 100644 (file)
@@ -41,8 +41,8 @@ class setup
     $this->o_steps[8] = new setup_step_7();
     $this->o_steps[9] = new setup_step_8();
 
-    /* Ensure that setup is not reachable if gosa.conf */
-    if(file_exists(CONFIG_DIR."/gosa.conf")){
+    /* Ensure that setup is not reachable if gosa.conf (CONFIG_FILE) */
+    if(file_exists(CONFIG_DIR."/".CONFIG_FILE)){
       session_destroy();
       header("Location: index.php")    ;
       exit();