X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Findex.php;h=e5019640be8c23f2fcc7cc2f82c26aa3443ab687;hb=9e23f0cdf28b296a468094d1e7efdf0099669745;hp=30a8b1ce8e486e0bc5e4d680e294031b12d297b4;hpb=c3e061c0d6fc0ee8778ebaebf1c05cf2bf126703;p=mailer.git diff --git a/inc/modules/index.php b/inc/modules/index.php index 30a8b1ce8e..e5019640be 100644 --- a/inc/modules/index.php +++ b/inc/modules/index.php @@ -87,7 +87,7 @@ if (empty($GLOBALS['action'])) } // Add the guest's menu here... -if (($_CONFIG['guest_menu'] == 'Y') || (!EXT_IS_ACTIVE("sql_patches", true))) +if (($_CONFIG['guest_menu'] == "Y") || (!EXT_IS_ACTIVE("sql_patches", true))) { // Show only when guest menu is active ADD_MENU("guest", $act, $GLOBALS['what']); @@ -96,7 +96,7 @@ if (($_CONFIG['guest_menu'] == 'Y') || (!EXT_IS_ACTIVE("sql_patches", true))) // TDs between menu and content LOAD_TEMPLATE("guest_menu_content"); -$INC_ACTION = sprintf(PATH."inc/modules/guest/action-%s.php", $act); +$INC_ACTION = sprintf("%sinc/modules/guest/action-%s.php", PATH, $act); if ((file_exists($INC_ACTION)) && (is_readable($INC_ACTION)) && (VALIDATE_MENU_ACTION("guest", $act, $GLOBALS['what']))) { // Requested module is available so we load it @@ -108,7 +108,7 @@ if ((file_exists($INC_ACTION)) && (is_readable($INC_ACTION)) && (VALIDATE_MENU_A LOAD_URL("modules.php?module=index"); } -if (($_CONFIG['guest_menu'] == 'Y') || (!EXT_IS_ACTIVE("sql_patches", true))) +if (($_CONFIG['guest_menu'] == "Y") || (!EXT_IS_ACTIVE("sql_patches", true))) { // TDs between content and LOAD_TEMPLATE("guest_content_footer");