mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
10 lines
No EOL
355 B
PHP
10 lines
No EOL
355 B
PHP
<?php
|
|
//do not use any modern php features in this file
|
|
$errors = 0;
|
|
|
|
if(version_compare("8.0.0", PHP_VERSION) > 0){
|
|
echo "[ERROR] Use PHP >= 8.0.0 to launch this server software.\n";
|
|
exit(1);
|
|
}
|
|
|
|
require_once(dirname(__FILE__)."/config_post.php"); //that config uses modern php features which may cause errors before php version check has been completed
|