From 57f1780fb454da8568be979777c87eeb58e6d76f Mon Sep 17 00:00:00 2001 From: Arthur Date: Wed, 29 Jan 2014 11:42:04 +0100 Subject: [PATCH] re-fixes #72 --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index 3c88c78..aa9f22a 100644 --- a/index.php +++ b/index.php @@ -377,10 +377,10 @@ if (isset($_GET['sitemap'])) * This action can be very slow and consume CPU if you have a lot of autoblogs **/ if( isset($_GET['updateall']) ) { + $lockfile = ".updatealllock"; if( !isset( $_GET['force']) ) { $max_exec_time=time()+4; // scipt have 4 seconds to update autoblogs $expire = time() - 5 ; // 5 seconds - $lockfile = ".updatealllock"; $lockfile_contents = array(); if (file_exists($lockfile)){ $lockfile_contents = file_get_contents($lockfile);