Automatic push 4.0.5

This commit is contained in:
chevereto
2022-11-30 12:33:23 +00:00
parent e59ddb9c5c
commit 3355a33451
622 changed files with 353382 additions and 2 deletions

View File

@@ -0,0 +1,20 @@
<?php
/*
* This file is part of Chevereto.
*
* (c) Rodolfo Berrios <rodolfo@chevereto.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
if (version_compare(PHP_VERSION, '8.0.0', '<')) {
if (PHP_SAPI !== 'cli') {
http_response_code(503);
}
echo 'This server is currently running PHP ' . PHP_VERSION . ' and Chevereto needs at least PHP 8.0.0 to run.' . PHP_EOL;
die(255);
}
require_once __DIR__ . '/loader.php';