mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
Set Working directory of cron parser upon initializtion which fixes relative path issue when adding attachments to tickets
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user