3 * Created on 24 sept. 2006
5 * To change the template for this generated file go to
6 * Window - Preferences - PHPeclipse - PHP - Code Templates
9 error_reporting( E_ALL );
10 ////header( "Content-type: text/html; charset=utf-8" );
11 //@ini_set( "display_errors", true );
12 @ini_set( "display_errors", false );
14 # In case of errors, let output be clean.
15 $gfRequestTime = microtime( true );
17 # Attempt to set up the include path, to fix problems with relative includes
18 ////$IP = dirname( __FILE__ ) ;
19 $IP = dirname(dirname( __FILE__ )) ;
20 //define( 'GF_INSTALL_PATH', $IP );
21 $sep = PATH_SEPARATOR;
22 if( !ini_set( "include_path", "/etc/gforge/custom$sep/etc/gforge$sep$IP$sep$IP/www/include$sep$IP/plugins/scmccase/etc$sep$IP/plugins/scmsvn/etc$sep$IP/plugins/scmcvs/etc$sep$IP/plugins" ) ) {
23 set_include_path( "/etc/gforge/custom$sep/etc/gforge$sep$IP$sep$IP/www/include$sep$IP/plugins/scmccase/etc$sep$IP/plugins/scmsvn/etc$sep$IP/plugins/scmcvs/etc$sep$IP/plugins" );
25 ini_set( 'memory_limit', '20M' );