Typesetter-Original-gtbu/index.php
gtbu 3c15dbec00 requirement php8.0
installation needs now php 8.0 (was : 7.3)
2025-02-17 10:52:50 +01:00

35 lines
760 B
PHP

<?php
/**
* Make sure php is running
*
*/
if( false ){
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Error: PHP is not running</title>
</head>
<body>
<h1><a href="https://www.typesettercms.com/">Typesetter CMS</a></h1>
<h2>Error: PHP is not running</h2>
<p>Typesetter requires that your web server is running PHP. Your server does not have PHP installed, or PHP is turned off.</p>
</body>
</html>
<?php
}
if( version_compare(phpversion(), '7.3.0', '<') ){
exit( 'Error: Typesetter CMS requires PHP 8.0+. This server is running PHP version ' . phpversion() );
}
/**
* See gpconfig.php for configuration options
*
*/
if( file_exists('gpconfig.php') ) require_once('gpconfig.php');
require_once('./include/main.php');