You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: public_html/lists/admin/index.php
+16-14Lines changed: 16 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -520,32 +520,34 @@ function mb_strtolower($string)
520
520
echoInfo($GLOBALS['I18N']->get('Running in testmode, no emails will be sent. Check your config file.'));
521
521
}
522
522
523
-
$updaterdir = __DIR__ . '/../updater';
523
+
if (!strpos(VERSION, 'dev')){
524
524
525
-
include'updatelib.php';
525
+
$updaterdir = __DIR__ . '/../updater';
526
526
527
-
if (showUpdateNotification()) {
527
+
include'updateLib.php';
528
528
529
-
try {
529
+
if (showUpdateNotification()) {
530
+
try {
530
531
531
-
$updateNotif = checkForUpdate('init.php');
532
+
$updateNotif = checkForUpdate('init.php');
532
533
533
-
} catch (Exception$e) {
534
+
} catch (Exception$e) {
534
535
535
-
echos('Error: '),$e->getMessage(), "\n";
536
+
echos('Error: '), $e->getMessage(), "\n";
536
537
537
-
}
538
+
}
538
539
539
-
$moreInfo = '<a href="https://www.phplist.com/download?utm_source=pl'.VERSION.'&utm_medium=updatedownload&utm_campaign=phpList" title="'.s('Download the new version').'" target="_blank">'.s('Download the new version').'</a>';
540
+
$moreInfo = '<a href="https://www.phplist.com/download?utm_source=pl' . VERSION . '&utm_medium=updatedownload&utm_campaign=phpList" title="' . s('Download the new version') . '" target="_blank">' . s('Download the new version') . '</a>';
540
541
541
-
if (file_exists($updaterdir) && ALLOW_UPDATER) {
542
+
if (file_exists($updaterdir) && ALLOW_UPDATER) {
542
543
543
-
$moreInfo.= s(' or update').' <a href="?page=redirecttoupdater" title="'.s('automatic updater').'">'.s('here.').'</a>';
0 commit comments