aboutsummaryrefslogtreecommitdiff
path: root/index.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 /index.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 'index.php')
-rw-r--r--index.php11
1 files changed, 1 insertions, 10 deletions
diff --git a/index.php b/index.php
index 811422d20..a2a6d2373 100644
--- a/index.php
+++ b/index.php
@@ -1,14 +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";