projects
/
fusionforge
/
fusionforge.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
project home
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbd9bd0
)
Make sure Theme.class exist before loading
author
Christian Bayle
<cbayle@gmail.com>
Mon, 9 Jun 2003 20:49:30 +0000
(20:49 +0000)
committer
Christian Bayle
<cbayle@gmail.com>
Mon, 9 Jun 2003 20:49:30 +0000
(20:49 +0000)
gforge/www/include/pre.php
patch
|
blob
|
history
diff --git
a/gforge/www/include/pre.php
b/gforge/www/include/pre.php
index c7e3ab3b36d408e01c02862ff599567d200be17f..19c55602b4ea82baf01ab2bbee9a7ef9dab0d247 100644
(file)
--- a/
gforge/www/include/pre.php
+++ b/
gforge/www/include/pre.php
@@
-112,7
+112,8
@@
if (session_loggedin()) {
//
// Include user Theme
//
-if ($sys_theme=='') {
+//if ($sys_theme=='') {
+if (!is_file($sys_themeroot.$sys_theme.'/Theme.class')) {
// to avoid error at first execution
$sys_theme='gforge';
}