PDA

View Full Version : Specials Maintenance - Administration



michael_s
05-29-2011, 09:04 AM
Download this version 1.1 instead of the one below.

Correction made to the install instruction that would affect the error handling.

>>>>2 ) FIND;

// initialize the message stack for output messages
require(DIR_WS_CLASSES . 'message_stack.php');

>>>>>>>>REPLACE WITH

// override the admin message stack to use the store message stack
if(false !== strpos($PHP_SELF, FILENAME_SPECIALS_MAINTENANCE)) {
require(DIR_FS_CATALOG . DIR_WS_CLASSES . 'boxes.php');
require(DIR_FS_CATALOG . DIR_WS_CLASSES . 'message_stack.php');
} else {
// initialize the message stack for output messages
require(DIR_WS_CLASSES . 'message_stack.php');
}

Thanks to Steve S. for pointing this out.

Full Package

More... (http://addons.oscommerce.com/info/7975)