fixing PHP warning in crons
This commit is contained in:
parent
cdf71cbfba
commit
d8c8a89f7a
@ -22,10 +22,13 @@ limitations under the License.
|
|||||||
// We need to find our include files so set this properly
|
// We need to find our include files so set this properly
|
||||||
define("BASEPATH", "../public/");
|
define("BASEPATH", "../public/");
|
||||||
|
|
||||||
|
|
||||||
/*****************************************************
|
/*****************************************************
|
||||||
* No need to change beyond this point *
|
* 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
|
// Our cron name
|
||||||
$cron_name = basename($_SERVER['PHP_SELF'], '.php');
|
$cron_name = basename($_SERVER['PHP_SELF'], '.php');
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user