Skip to content

Commit 120ea7e

Browse files
xh3n1Sam Tuke
authored andcommitted
Add info window for trying the automatic updater
Signed-off-by: Xheni Myrtaj <[email protected]>
1 parent fb5bd5b commit 120ea7e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

public_html/lists/admin/index.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -520,6 +520,10 @@ function mb_strtolower($string)
520520
if (TEST) {
521521
echo Info($GLOBALS['I18N']->get('Running in testmode, no emails will be sent. Check your config file.'));
522522
}
523+
$updaterdir = __DIR__ . '/../updater';
524+
if(file_exists($updaterdir)){
525+
echo Info(s('Try automatic updater').'<a href="?page=redirecttoupdater" title="'.s('auto updater').'"> here</a>'.'(beta)');
526+
}
523527
if (version_compare(PHP_VERSION, '5.3.3', '<') && WARN_ABOUT_PHP_SETTINGS) {
524528
Error(s('Your PHP version is out of date. phpList requires PHP version 5.3.3 or higher.'));
525529
}

0 commit comments

Comments
 (0)