mirror of
https://github.com/bs-community/blessing-skin-server.git
synced 2024-12-21 06:19:38 +08:00
26 lines
589 B
PHP
Executable File
26 lines
589 B
PHP
Executable File
<?php
|
|
|
|
/**
|
|
* Entrance of Blessing Skin Server
|
|
*
|
|
* @package Blessing Skin Server
|
|
* @author printempw <h@prinzeugen.net>
|
|
*/
|
|
|
|
@ini_set('display_errors', 'on');
|
|
|
|
// check PHP version
|
|
if (version_compare(PHP_VERSION, '5.5.9', '<')) {
|
|
exit('[Error] Blessing Skin Server needs PHP version >= 5.5.9, you are now using '.PHP_VERSION);
|
|
}
|
|
|
|
require __DIR__.'/bootstrap/autoload.php';
|
|
|
|
// check the runtime environment
|
|
runtime_check(array(
|
|
'extensions' => array('pdo_mysql', 'openssl', 'gd', 'mbstring', 'tokenizer')
|
|
));
|
|
|
|
// handle the request
|
|
require __DIR__.'/bootstrap/handler.php';
|