[evolvis-commits] r9590: Remove test about the presence of /etc/gforge/custom/pre. =?UTF-8?Q?php=E2=86=B5=20Customized=20pre?=. php can be loaded by adding a path in apac?==?UTF-8?Q?he↵
mirabilos at evolvis.org
mirabilos at evolvis.org
Thu Feb 24 17:28:01 CET 2011
Author: mirabilos
Date: 2011-02-24 17:28:00 +0100 (Thu, 24 Feb 2011)
New Revision: 9590
Modified:
trunk/gforge_base/evolvisforge-5.1/gforge/www/include/pre.php
Log:
Remove test about the presence of /etc/gforge/custom/pre.php
Customized pre.php can be loaded by adding a path in apache
Modified: trunk/gforge_base/evolvisforge-5.1/gforge/www/include/pre.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/www/include/pre.php 2011-02-24 16:27:59 UTC (rev 9589)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/www/include/pre.php 2011-02-24 16:28:00 UTC (rev 9590)
@@ -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');
-}
/*
More information about the evolvis-commits
mailing list