I've got most of the other suggextions done, but the code change for application_top was wipe from the email.

How do I convert this from application_top to autoloader!
Code:
if (AUCTION_CRON_ENABLE == '0') {
  require(DIR_WS_CLASSES . 'class.productauction.php');
  productAuction::checkAuctionStatuses();
  }
The way it was used is to check date and time for any closed auctions then process them if true. The switch is to allow for a CRON Job and not do a check on each page load. I've setup the config.auction.php in the auto_loaders folder like so...
Code:
   $autoLoadConfig[0][] = array('autoType'=>'class',
                                'loadFile'=> 'class.productauction.php');
                                
   $autoLoadConfig[170][] = array('autoType'=>'classInstantiate',
                                'className'=>'productauction',
                                'objectName'=>'checkAuctionStatuses');
The class seams to be loading, but I'm not getting the function to run with the page load.

Also, Is their another way to do the switch?