mirror of
https://github.com/YunoHost-Apps/freshrss_ynh.git
synced 2024-09-03 18:36:33 +02:00
[fix]update only if needed
This commit is contained in:
parent
02cd845235
commit
97ea8ad61f
1 changed files with 4 additions and 4 deletions
|
@ -16,8 +16,8 @@ curl_exec($ch);
|
|||
curl_close($ch);
|
||||
fclose($fp);
|
||||
|
||||
|
||||
require('update.php');
|
||||
|
||||
apply_update();
|
||||
if (!strstr(file_get_contents('update.php'), 'NO_UPDATE')){
|
||||
require('update.php');
|
||||
apply_update();
|
||||
}
|
||||
?>
|
Loading…
Reference in a new issue