]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin.php
Fix for newsletter
[mailer.git] / inc / modules / admin.php
index 367a96cbe9fb14fc0f3d641005974a85ecdab340..06823fef116a420c0528e4b03a86950f61b3332a 100644 (file)
@@ -203,6 +203,8 @@ if (!isBooleanConstantAndTrue('admin_registered')) {
        if ((isset($_POST['ok'])) && ($_POST['ok'] != "***")) {
                // All required data was entered so we check his account
                $ret = CHECK_ADMIN_LOGIN($_POST['login'], $_POST['pass']);
+
+               // Which status do we have?
                switch ($ret)
                {
                case "done": // Admin and password are okay, so we log in now
@@ -397,8 +399,8 @@ if (!isBooleanConstantAndTrue('admin_registered')) {
 
 if (isBooleanConstantAndTrue('admin_registered')) {
        // Check config.php and inc directory for right access rights
-       if (is_INCWritable("config"))     ADD_FATAL(FATAL_CONFIG_WRITABLE);
-       if (is_INCWritable("dummy"))      ADD_FATAL(FATAL_INC_WRITABLE);
+       // DEPRECATED: if (is_INCWritable("config"))     ADD_FATAL(FATAL_CONFIG_WRITABLE);
+       // DEPRECATED: if (is_INCWritable("dummy"))      ADD_FATAL(FATAL_INC_WRITABLE);
 }
 //
 ?>