mirror of https://github.com/itflow-org/itflow
Set Working directory of cron parser upon initializtion which fixes relative path issue when adding attachments to tickets
This commit is contained in:
parent
c11b3d5987
commit
8cf1bd8911
|
|
@ -14,6 +14,9 @@ TODO:
|
|||
|
||||
*/
|
||||
|
||||
// Set working directory to the directory this cron script lives at.
|
||||
chdir(dirname(__FILE__));
|
||||
|
||||
// Get ITFlow config & helper functions
|
||||
require_once("config.php");
|
||||
require_once("functions.php");
|
||||
|
|
|
|||
Loading…
Reference in New Issue