]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin.php
Rewrites not to init config in config-functions.php (some still remain, many untested)
[mailer.git] / inc / modules / admin.php
index 401dfc75d03b69e1e2e56f00ccede303fd51dd6f..0a26a6ff364642566e579ff847123b6c6982688e 100644 (file)
@@ -101,7 +101,7 @@ if (!isAdminRegistered()) {
                                        changeDataInFile(getConfig('CACHE_PATH') . 'config-local.php', 'ADMIN-SETUP', "setConfigEntry('ADMIN_REGISTERED', '", "');", 'Y', 0);
 
                                        // Load URL for login
-                                       redirectToUrl('modules.php?module=admin');
+                                       redirectToUrl('admin.php');
                                } // END - if
                                break;
                } // END - switch
@@ -363,7 +363,7 @@ if (!isAdminRegistered()) {
                        } else {
                                // This little call constructs the whole default old and lacky menu system
                                // on left side. It also renders the content on right side
-                               doAdminAction(getWhat());
+                               doAdminAction();
                        }
                        break;