[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 01/01: Fix bug in installation
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 01/01: Fix bug in installation |
Date: |
Wed, 12 Aug 2015 16:59:52 +0000 |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 633696f50f056e3c0442f2266bd7f70db464e73e
Author: Dany De Bontridder <address@hidden>
Date: Wed Aug 12 18:54:56 2015 +0200
Fix bug in installation
---
include/constant.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/constant.php b/include/constant.php
index 1147372..250b5cd 100644
--- a/include/constant.php
+++ b/include/constant.php
@@ -40,7 +40,7 @@ if ( !defined("NOALYSS_HOME")) define
("NOALYSS_HOME",dirname($dirname)."/html")
if ( !defined("NOALYSS_PLUGIN")) define ("NOALYSS_PLUGIN",$g_ext_dir);
if ( !defined("NOALYSS_INCLUDE")) define ("NOALYSS_INCLUDE",$g_include_dir);
-require_once NOALYSS_INCLUDE.'/config.inc.php';
+if (file_exists(NOALYSS_INCLUDE.'/config.inc.php')) require_once
NOALYSS_INCLUDE.'/config.inc.php';
require_once NOALYSS_INCLUDE.'/constant.security.php';
if ( strpos($inc_path,";") != 0 ) {