fix: Fix update via ZIP archive

Code from the update server was not loaded anymore before the update
process. This commit brings back missing `require`.
This commit is contained in:
Marien Fressinaud
2017-04-13 22:47:19 +02:00
parent aa75cebbfe
commit 9ce0bca45f
2 changed files with 2 additions and 0 deletions

View File

@@ -190,6 +190,7 @@ class FreshRSS_update_Controller extends Minz_ActionController {
if (self::isGit()) {
$res = self::gitPull();
} else {
require(UPDATE_FILENAME);
if (Minz_Request::isPost()) {
save_info_update();
}