[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 03/04: Update default file
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 03/04: Update default file |
Date: |
Sun, 22 Nov 2015 17:08:18 +0000 |
sparkyx pushed a commit to annotated tag rel6912
in repository noalyss.
commit aeb43264243b5336a86bb949d94ee56c61cea495
Author: Dany De Bontridder <address@hidden>
Date: Sun Nov 22 17:52:27 2015 +0100
Update default file
---
include/config.inc | 3 ++-
include/lib/config_file.php | 2 ++
2 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/include/config.inc b/include/config.inc
index 9a239e8..2afcaf5 100644
--- a/include/config.inc
+++ b/include/config.inc
@@ -23,7 +23,6 @@
/*!\file
* \brief user setting
*/
-<?php
date_default_timezone_set ('Europe/Brussels');
$_ENV['TMP']='/tmp';
define("PG_PATH","/usr/bin");
@@ -60,3 +59,5 @@ define ("dbname","");
// define ("SITE_UPDATE_PLUGIN","");
// To allow to access the Info system
// define ("SYSINFO_DISPLAY",true);
+// For developpement
+// define ("NOALYSS_VERSION",9999);
diff --git a/include/lib/config_file.php b/include/lib/config_file.php
index 3c2e267..550a011 100644
--- a/include/lib/config_file.php
+++ b/include/lib/config_file.php
@@ -197,6 +197,8 @@ function display_file_config($p_array,$from_setup=1,$p_os=1)
print ( '// define ("SITE_UPDATE_PLUGIN","");'."\r\n");
print ( '// To allow to access the Info system'."\r\n");
print ( '// define ("SYSINFO_DISPLAY",true);'."\r\n");
+ print ( '// For developpement'."\r\n");
+ print ( '// define ("NOALYSS_VERSION",9999);'."\r\n");
}
/*!\brief create the config file
*/