fixing PHP warning in crons

This commit is contained in:
Sebastian Grewe 2013-09-17 14:27:58 +02:00
parent cdf71cbfba
commit d8c8a89f7a

View File

@ -22,10 +22,13 @@ limitations under the License.
// We need to find our include files so set this properly
define("BASEPATH", "../public/");
/*****************************************************
* No need to change beyond this point *
*****************************************************/
// Used in autoloading of API class, adding it to stop PHP warnings
$dStartTime = microtime(true);
// Our cron name
$cron_name = basename($_SERVER['PHP_SELF'], '.php');