gforge-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gforge-commits] gforge/www/include pre.php,1.24,1.25


From: cbayle
Subject: [Gforge-commits] gforge/www/include pre.php,1.24,1.25
Date: Fri, 16 Apr 2004 06:37:39 -0500

Update of /cvsroot/gforge/gforge/www/include
In directory db.perdue.net:/tmp/cvs-serv9834/www/include

Modified Files:
        pre.php 
Log Message:
Remove test about the presence of /etc/gforge/custom/pre.php
Customized pre.php can be loaded by adding a path in apache


Index: pre.php
===================================================================
RCS file: /cvsroot/gforge/gforge/www/include/pre.php,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- pre.php     13 Apr 2004 20:25:54 -0000      1.24
+++ pre.php     16 Apr 2004 11:37:36 -0000      1.25
@@ -16,9 +16,6 @@
 /*
        redirect to proper hostname to get around certificate problem on IE 5
 */
-if (is_file('/etc/gforge/custom/pre.php')){
-       require_once('/etc/gforge/custom/pre.php');
-} else {
 
 // get constants used for flags or status
 require('common/include/constants.php');
@@ -135,11 +132,6 @@
 //
 //     Include user Theme
 //
-//if ($sys_theme=='') {
-if (!is_file($sys_themeroot.$sys_theme.'/Theme.class')) {
-    // to avoid error at first execution
-    $sys_theme='gforge';
-}
 require_once($sys_themeroot.$sys_theme.'/Theme.class');
 
 $HTML=new Theme();
@@ -191,7 +183,6 @@
 $sys_strftimefmt = $Language->getText('system','strftimefmt');
 $sys_datefmt = $Language->getText('system','datefmt');
 
-}
 /*
 
 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]