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
|
// Get ITFlow config & helper functions
|
||||||
require_once("config.php");
|
require_once("config.php");
|
||||||
require_once("functions.php");
|
require_once("functions.php");
|
||||||
|
|||||||
Reference in New Issue
Block a user