@ -298,8 +298,10 @@ class Updater extends Plugin {
}
}
function update_self($args) {
function update_self($args) {
_debug("Warning: self-updating is experimental. Use at your own risk.");
_debug("READ THE FOLLOWING BEFORE CONTINUING!");
_debug("Please backup your tt-rss directory before continuing. Your database will not be modified.");
_debug("* It is suggested to backup your tt-rss directory first.");
_debug("* Your database will not be modified.");
_debug("* Your current tt-rss installation directory will not be modified. It will be renamed and left in the parent directory. You will be able to migrate all your customized files after update finishes.");
_debug("Type 'yes' to continue.");
_debug("Type 'yes' to continue.");
$input = read_stdin();
$input = read_stdin();
@ -346,11 +348,18 @@ class Updater extends Plugin {
}
}
function updateSelf() {
function updateSelf() {
print_warning(__("Do not close this dialog until updating is finished."));
print "<liclass='notice'>" .__("It is suggested to backup your tt-rss directory first.") . "</li>";
print "<liclass='notice'>" . __("Your database will not be modified.") . "</li>";
print "<liclass='notice'>" . __("Your current tt-rss installation directory will not be modified. It will be renamed and left in the parent directory. You will be able to migrate all your customized files after update finishes.") . "</li>";