re-fixes #72
This commit is contained in:
parent
fbb381ff5b
commit
57f1780fb4
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue