projects
/
mailer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0e26956
)
Missing configuration fixed
author
Roland Häder
<roland@mxchange.org>
Sat, 7 Nov 2009 19:35:05 +0000
(19:35 +0000)
committer
Roland Häder
<roland@mxchange.org>
Sat, 7 Nov 2009 19:35:05 +0000
(19:35 +0000)
inc/mysql-manager.php
patch
|
blob
|
history
diff --git
a/inc/mysql-manager.php
b/inc/mysql-manager.php
index 27961f5f608adb5bd0c1fe4a82656cf63718cfec..e6ca6a716590466ea16047e4e1bcef7d4be46894 100644
(file)
--- a/
inc/mysql-manager.php
+++ b/
inc/mysql-manager.php
@@
-1022,7
+1022,15
@@
function getModeAction ($mode, $what) {
$ret = '';
//* DEBUG: */ print(__LINE__.'='.$mode.'/'.$what.'/'.getAction()."=<br />");
$ret = '';
//* DEBUG: */ print(__LINE__.'='.$mode.'/'.$what.'/'.getAction()."=<br />");
- if ((empty($what)) && ($mode != 'admin')) {
+ if (!isExtensionInstalledAndNewer('sql_patches', '0.0.5')) {
+ // sql_patches is missing so choose depending on mode
+ if ($mode == 'admin') {
+ $what = 'overview';
+ } else {
+ $what = 'welcome';
+ }
+ } elseif ((empty($what)) && ($mode != 'admin')) {
+ // Use configured 'home'
$what = getConfig('index_home');
} // END - if
$what = getConfig('index_home');
} // END - if