From 9b27cec8c01ff231085bc2045d196ace85e299d9 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 15 Apr 2011 12:38:11 +0400 Subject: [PATCH] update.php & daemon: chdir to script directory using __FILE__ magic constant --- update.php | 3 ++- update_daemon2.php | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/update.php b/update.php index 4598e7c6..9c9c6ae8 100755 --- a/update.php +++ b/update.php @@ -2,7 +2,8 @@