Changeset 4541 for extensions/autoupdate


Ignore:
Timestamp:
Dec 21, 2009, 2:51:15 PM (15 years ago)
Author:
patdenice
Message:

[Plugin] [Piwigo Auto Upgrade]
Timeout correction

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/autoupdate/autoupdate.php

    r4032 r4541  
    22
    33/* Fetch remote function with timeout */
    4 function autoupdate_fetchRemote($src, &$dest, $timeout=0, $user_agent='Piwigo', $step=0)
     4function autoupdate_fetchRemote($src, &$dest, $timeout=15, $user_agent='Piwigo', $step=0)
    55{
    66  // Try to retrieve data from local file?
     
    222222  else
    223223  {
     224    @unlink($file);
    224225    array_push($page['errors'], l10n('autoupdate_fail'));
    225226  }
Note: See TracChangeset for help on using the changeset viewer.