[evolvis-commits] r8856: Remove test about theme existence done now in pre. php↵
mirabilos at evolvis.org
mirabilos at evolvis.org
Thu Feb 24 16:53:52 CET 2011
Author: mirabilos
Date: 2011-02-24 16:53:51 +0100 (Thu, 24 Feb 2011)
New Revision: 8856
Modified:
trunk/gforge_base/evolvisforge-5.1/gforge/common/include/User.class
Log:
Remove test about theme existence done now in pre.php
Modified: trunk/gforge_base/evolvisforge-5.1/gforge/common/include/User.class
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/common/include/User.class 2011-02-24 15:53:50 UTC (rev 8855)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/common/include/User.class 2011-02-24 15:53:51 UTC (rev 8856)
@@ -1131,8 +1131,6 @@
$res=db_query("SELECT * FROM themes WHERE theme_id='".$this->getThemeID()."'");
$this->theme=db_result($res,0,'dirname');
$GLOBALS['sys_theme']=db_result($res,0,'dirname');
- //If the theme dir doesn't exist
- if (!is_dir($GLOBALS['sys_themeroot'].$GLOBALS['sys_theme'])) $GLOBALS['sys_theme']='';
}
return $this->theme;
}
More information about the evolvis-commits
mailing list