1
0
Fork 0
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:
Clément 2015-02-09 12:42:06 +01:00
parent 02cd845235
commit 97ea8ad61f

View file

@ -16,8 +16,8 @@ curl_exec($ch);
curl_close($ch); curl_close($ch);
fclose($fp); fclose($fp);
if (!strstr(file_get_contents('update.php'), 'NO_UPDATE')){
require('update.php'); require('update.php');
apply_update(); apply_update();
}
?> ?>