diff options
| author | Andrew Dolgov <fox@fakecake.org> | 2024-08-22 06:50:27 +0000 |
|---|---|---|
| committer | Andrew Dolgov <fox@fakecake.org> | 2024-08-22 06:50:27 +0000 |
| commit | 8423183e2fc81093ae16bf737d76ff03b384ab0a (patch) | |
| tree | 9ed874be593ee458d97d8301c59de7d5bbf72a6b /prefs.php | |
| parent | b8cbb167d493191eee2dafec1949fcdd47dddaca (diff) | |
| parent | d17f90b96ffedda439d6ef62abe31d50d0e130ac (diff) | |
Merge branch 'feature/php-version-check-and-link-stuff' into 'master'
Remove extra PHP version checks, fix some links
See merge request tt-rss/tt-rss!54
Diffstat (limited to 'prefs.php')
| -rw-r--r-- | prefs.php | 10 |
1 files changed, 1 insertions, 9 deletions
@@ -1,13 +1,5 @@ <?php - // we need a separate check here because functions.php might get parsed - // incorrectly before 5.3 because of :: syntax. - if (version_compare(PHP_VERSION, '7.4.0', '<')) { - print "<b>Fatal Error</b>: PHP version 7.4.0 or newer required. You're using " . PHP_VERSION . ".\n"; - exit; - } - - set_include_path(__DIR__ ."/include" . PATH_SEPARATOR . - get_include_path()); + set_include_path(__DIR__ . "/include" . PATH_SEPARATOR . get_include_path()); require_once "autoload.php"; require_once "sessions.php"; |