Fixes for sql_patches removal vs. password reset of admin
[mailer.git] / inc / modules / guest / action-admin.php
index 7eaf1cdc794349ecbe2871a0440881fdd59ea6ae..fce845e27a91c876aad076d7484bbe42b628d54a 100644 (file)
@@ -41,7 +41,7 @@ if (ereg(basename(__FILE__), $_SERVER['PHP_SELF']))
 if (GET_ACTION("guest", $GLOBALS['what']) == "admin")
 {
        // Only when one admin link is clicked...
-       $INC = sprintf(PATH."inc/modules/guest/what-%s.php", $GLOBALS['what']);
+       $INC = sprintf("%sinc/modules/guest/what-%s.php", PATH, $GLOBALS['what']);
        if (file_exists($INC))
        {
             // Ok, we finally load the guest action module