mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-06-05 09:23:40 -04:00
Restructure file base.
This commit is contained in:
parent
057a5f05a5
commit
ee241e7e3f
151 changed files with 88 additions and 86 deletions
12
src/_h5ai/public/index.php
Normal file
12
src/_h5ai/public/index.php
Normal file
|
@ -0,0 +1,12 @@
|
|||
<?php
|
||||
|
||||
define('MIN_PHP_VERSION', '5.4.0');
|
||||
|
||||
if (version_compare(PHP_VERSION, MIN_PHP_VERSION, '<')) {
|
||||
header('Content-type: application/json;charset=utf-8');
|
||||
echo '{"err":"ERR_PHP","msg":"PHP ' . MIN_PHP_VERSION . '+ required","ver":"' . PHP_VERSION . '"}';
|
||||
exit;
|
||||
}
|
||||
|
||||
require_once __DIR__ . '/../backend/php/class-bootstrap.php';
|
||||
Bootstrap::main();
|
Loading…
Add table
Add a link
Reference in a new issue