cron.php

Go to the documentation of this file.
00001 <?php
00002 
00008 function getShopBasePath()
00009 {
00010     return dirname(__FILE__).'/../';
00011 }
00012 
00013 
00014 if ( !function_exists( 'isAdmin' )) {
00020     function isAdmin()
00021     {
00022         return false;
00023     }
00024 }
00025 
00026 // custom functions file
00027 require getShopBasePath() . 'modules/functions.php';
00028 
00029 // Generic utility method file
00030 require_once getShopBasePath() . 'core/oxfunctions.php';
00031 
00032 // initializes singleton config class
00033 $myConfig = oxConfig::getInstance();
00034 
00035 // executing maintenance tasks..
00036 oxNew( "oxmaintenance" )->execute();
00037 
00038 // closing page, writing cache and so on..
00039 $myConfig->pageClose();