mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 09:05:55 +00:00
initial WIP for php8; bump php version requirement to 7.0
This commit is contained in:
@@ -11,8 +11,8 @@
|
||||
|
||||
// we need a separate check here because functions.php might get parsed
|
||||
// incorrectly before 5.3 because of :: syntax.
|
||||
if (version_compare(PHP_VERSION, '5.6.0', '<')) {
|
||||
print "<b>Fatal Error</b>: PHP version 5.6.0 or newer required. You're using " . PHP_VERSION . ".\n";
|
||||
if (version_compare(PHP_VERSION, '7.0.0', '<')) {
|
||||
print "<b>Fatal Error</b>: PHP version 7.0.0 or newer required. You're using " . PHP_VERSION . ".\n";
|
||||
exit;
|
||||
}
|
||||
|
||||
@@ -262,7 +262,7 @@
|
||||
}
|
||||
?>
|
||||
|
||||
<?php if (!$_SESSION["hide_logout"]) { ?>
|
||||
<?php if (empty($_SESSION["hide_logout"])) { ?>
|
||||
<div dojoType="dijit.MenuItem" onclick="App.onActionSelected('qmcLogout')"><?php echo __('Logout') ?></div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user