[evolvis-commits] r13889: Remove hard-coded ini_set() in env.inc.php, could be confusing for some people

mirabilos at evolvis.org mirabilos at evolvis.org
Mon Feb 28 03:33:50 CET 2011


Author: mirabilos
Date: 2011-02-28 03:33:50 +0100 (Mon, 28 Feb 2011)
New Revision: 13889

Modified:
   trunk/gforge_base/evolvisforge-5.1/gforge/www/env.inc.php
Log:
Remove hard-coded ini_set() in env.inc.php, could be confusing for some people

Modified: trunk/gforge_base/evolvisforge-5.1/gforge/www/env.inc.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/www/env.inc.php	2011-02-28 02:33:43 UTC (rev 13888)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/www/env.inc.php	2011-02-28 02:33:50 UTC (rev 13889)
@@ -1,24 +1,18 @@
 <?php
 /*
- * Sets the default required environnement for Gforge
+ * Sets the default required environnement for FusionForge
  *
  * Some of the settings made here can be overwrite in the
  * configuration file if needed.
  * 
  */
 
-# In case of errors, let output be clean.
-$gfRequestTime = microtime( true );
-
- at ini_set( 'memory_limit', '20M' );
- at ini_set( "display_errors", false );
-
-error_reporting( E_ALL );
-
-# Attempt to set up the include path, to fix problems with relative includes
+// Attempt to set up the include path, to fix problems with relative includes
 $fusionforge_basedir = dirname(dirname( __FILE__ )) ;
 $include_path = join(PATH_SEPARATOR, 
-	array("/etc/gforge/custom", "/etc/gforge", "$fusionforge_basedir/common", "$fusionforge_basedir/www",	"$fusionforge_basedir/plugins", "$fusionforge_basedir", ".", "/usr/share/php"));
+	array("/etc/gforge/custom", "/etc/gforge", "$fusionforge_basedir/common", "$fusionforge_basedir/www",
+		"$fusionforge_basedir/plugins", "$fusionforge_basedir",
+		".", "/usr/share/php"));
 
 // By default, the include_path is changed to include path needed by Gforge.
 // If this does not work, then set defines to real path directly.



More information about the evolvis-commits mailing list