[Fusionforge-commits] r10259 - trunk/src/etc/local.d

Thorsten Glaser mirabilos at libremir.placard.fr.eu.org
Fri Jul 16 17:44:07 CEST 2010


Author: mirabilos
Date: 2010-07-16 17:44:07 +0200 (Fri, 16 Jul 2010)
New Revision: 10259

Added:
   trunk/src/etc/local.d/24debug
Modified:
   trunk/src/etc/local.d/30homegroupother
Log:
split $sys_install_type into more fine-grained settings
but keep the semantics of it, by patching default values


Added: trunk/src/etc/local.d/24debug
===================================================================
--- trunk/src/etc/local.d/24debug	                        (rev 0)
+++ trunk/src/etc/local.d/24debug	2010-07-16 15:44:07 UTC (rev 10259)
@@ -0,0 +1,29 @@
+/* debugging functionality; copy and enable if needed */
+
+// Define the type of installation
+//    * development: 
+//    * integration: 
+//    * staging: 
+//    * production: normal mode.
+$sys_install_type = 'production';
+
+/* more fine-grained control below */
+
+// enable debugging at all (overlay the page with pink box)
+$sysdebug_enable = false;
+if ($sys_install_type == "development" || $sys_install_type == "integration") {
+	$sysdebug_enable = true;
+}
+
+// enable the PHP Error Handler (default if sysdebug_enable)
+$sysdebug_phphandler = true;
+// also report ignored errors (@call)
+$sysdebug_ignored = false;
+
+/* output validation (if sysdebug_enable) */
+
+// XHTML/1.0 Transitional validation using xmlstarlet and the DTD
+$sysdebug_xmlstarlet = false;
+// Akelos validator; apparently XHTML/1.0 Strict or XHTML/1.1 (?)
+$sysdebug_akelos = false;
+

Modified: trunk/src/etc/local.d/30homegroupother
===================================================================
--- trunk/src/etc/local.d/30homegroupother	2010-07-16 15:41:30 UTC (rev 10258)
+++ trunk/src/etc/local.d/30homegroupother	2010-07-16 15:44:07 UTC (rev 10259)
@@ -104,10 +104,3 @@
 // Gettext files (default: /usr/share/locale).
 $sys_gettext_path=$sys_share_path.'/locales';
 
-// Define the type of installation
-//    * development: 
-//    * integration: 
-//    * staging: 
-//    * production: normal mode.
-$sys_install_type = 'production';
-




More information about the Fusionforge-commits mailing list