[Fusionforge-commits] r8299 - trunk/gforge/www

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Sat Oct 17 14:03:47 CEST 2009


Author: aljeux
Date: 2009-10-17 14:03:47 +0200 (Sat, 17 Oct 2009)
New Revision: 8299

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

Modified: trunk/gforge/www/env.inc.php
===================================================================
--- trunk/gforge/www/env.inc.php	2009-10-17 11:43:46 UTC (rev 8298)
+++ trunk/gforge/www/env.inc.php	2009-10-17 12:03:47 UTC (rev 8299)
@@ -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 Fusionforge-commits mailing list