projects
/
mailer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix for broken admin_add_sponsor template
[mailer.git]
/
admin.php
diff --git
a/admin.php
b/admin.php
index 5c6f49d107b058e58c25e1eae78fcbffb31d2797..5a04fc8eb97b136e1424f1733c71cea8cc801d0a 100644
(file)
--- a/
admin.php
+++ b/
admin.php
@@
-42,17
+42,14
@@
$GLOBALS['what'] = ""; $GLOBALS['action'] = "";
$GLOBALS['module'] = "admin"; $CSS = -1;
// Load the required file(s)
$GLOBALS['module'] = "admin"; $CSS = -1;
// Load the required file(s)
-require
("inc/config.php");
+require("inc/config.php");
// Is the script installed?
// Is the script installed?
-if (isBooleanConstantAndTrue('mxchange_installed'))
-{
+if (isBooleanConstantAndTrue('mxchange_installed')) {
// Simply redirect... :-)
LOAD_URL("modules.php?module=admin&action=login");
// Redirection should be done here
// Simply redirect... :-)
LOAD_URL("modules.php?module=admin&action=login");
// Redirection should be done here
-}
- else
-{
+} else {
// You have to configure first!
LOAD_URL("install.php");
}
// You have to configure first!
LOAD_URL("install.php");
}