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