From b47a2c35c2d505ae754dc33a4acfc4e29fb6fbdd Mon Sep 17 00:00:00 2001 From: "n.pankin" Date: Mon, 26 Sep 2022 17:27:46 +0300 Subject: [PATCH] fix path --- atf.inc.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/atf.inc.php b/atf.inc.php index bd5294b..cbae5bf 100644 --- a/atf.inc.php +++ b/atf.inc.php @@ -1298,7 +1298,9 @@ function atf_guid() function _atf_start_watchdog($guid) { - $script = dirname(__FILE__) . '/../gamectl atf_watchdog ' . getmypid() . ' ' . $guid; + global $GAME_ROOT; + + $script = "$GAME_ROOT/gamectl atf_watchdog " . getmypid() . ' ' . $guid; exec("nohup $script > /dev/null &", $output, $ret); }