mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 19:04:52 +00:00
All cron scripts should set the running directory for consistency
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
<?php
|
||||
|
||||
// Set working directory to the directory this cron script lives at.
|
||||
chdir(dirname(__FILE__));
|
||||
|
||||
require_once "../config.php";
|
||||
|
||||
// Set Timezone
|
||||
|
||||
Reference in New Issue
Block a user