projects
/
phppgadmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
183b1e0
)
Fix when no theme set in config file
author
Julien Rouhaud
<julien.rouhaud@free.fr>
Fri, 17 Aug 2012 09:00:27 +0000
(11:00 +0200)
committer
Julien Rouhaud
<julien.rouhaud@free.fr>
Fri, 17 Aug 2012 09:00:27 +0000
(11:00 +0200)
libraries/lib.inc.php
patch
|
blob
|
blame
|
history
diff --git
a/libraries/lib.inc.php
b/libraries/lib.inc.php
index 1119fc239e12e88009fe63fa2aaf18556cb90afa..568ca991a123be01933c837498357003155df573 100644
(file)
--- a/
libraries/lib.inc.php
+++ b/
libraries/lib.inc.php
@@
-95,6
+95,8
@@
/* select the theme */
unset($_theme);
+ if (!isset($conf['theme']))
+ $conf['theme'] = 'default';
// 1. Check for the theme from a request var
if (isset($_REQUEST['theme']) && is_file("./themes/{$_REQUEST['theme']}/global.css")) {