summaryrefslogtreecommitdiff
path: root/scripts/update_facebook.php
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/update_facebook.php')
-rwxr-xr-xscripts/update_facebook.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/update_facebook.php b/scripts/update_facebook.php
index 1574b9e09..d2c1c3ffb 100755
--- a/scripts/update_facebook.php
+++ b/scripts/update_facebook.php
@@ -34,7 +34,7 @@ require_once INSTALLDIR . '/lib/facebookutil.php';
$last_updated_file = INSTALLDIR . '/scripts/facebook_last_updated';
// Lock file name
-$tmp_file = "/tmp/update_facebook.lock";
+$tmp_file = INSTALLDIR . '/scripts/update_facebook.lock';
// Make sure only one copy of the script is running at a time
if (!($tmp_file = @fopen($tmp_file, "w")))