Totally Zenned
- Join Date:
- Feb 2004
- Posts:
- 1,702
- Plugin Contributions:
- 5
[Done v1.3.7] Allowing Information Box links to work for Down_for_maintenance
I know its frowned upon, but for my need it will be ok. I am trying to allow only the Contact Us, Shipping & Returns, Privacy, and Conditions of Use to be accessible while in Maintenance mode.
I've tracked what I thought was the limiter down to two areas:
function_lookup.php & init_customer_auth.php
I've added the if statement around the break in the case statement in the init_customer_auth.php file but it still doesn't seem to care.
switch (true) {
case (DOWN_FOR_MAINTENANCE == 'true'):
/**
* if not down for maintenance check login status
*/
if (($_GET['main_page'] != FILENAME_PRIVACY) or ($_GET['main_page'] != FILENAME_CONTACT_US) or ($_GET['main_page'] != FILENAME_CONDITIONS) or ($_GET['main_page'] != FILENAME_SHIPPING)) {
break;
}
I've also tried adding this code to the appropriate area of the function_lookup.php file, also to no avail.
am I missing another area?
Templates: Silverfish | Blue Admin | TruBlu
Contribs: USPS AutoFill | Column Divider Pro | Tabbed Products Pro | Main Image Replacer
DoNaTiOnS WeLcOmE!