aboutsummaryrefslogtreecommitdiff
path: root/prefs.php
diff options
context:
space:
mode:
authorAndrew Dolgov <fox@fakecake.org>2024-08-22 06:50:27 +0000
committerAndrew Dolgov <fox@fakecake.org>2024-08-22 06:50:27 +0000
commit8423183e2fc81093ae16bf737d76ff03b384ab0a (patch)
tree9ed874be593ee458d97d8301c59de7d5bbf72a6b /prefs.php
parentb8cbb167d493191eee2dafec1949fcdd47dddaca (diff)
parentd17f90b96ffedda439d6ef62abe31d50d0e130ac (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.php10
1 files changed, 1 insertions, 9 deletions
diff --git a/prefs.php b/prefs.php
index 83b620bc6..f1c7a0fa7 100644
--- a/prefs.php
+++ b/prefs.php
@@ -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";