25 lines
571 B
PHP
Executable File
25 lines
571 B
PHP
Executable File
<?php
|
|
|
|
/**
|
|
* Entrance of Blessing Skin Server
|
|
*
|
|
* @package Blessing Skin Server
|
|
* @author printempw <h@prinzeugen.net>
|
|
*/
|
|
|
|
// runtime check
|
|
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);
|
|
}
|
|
|
|
if (!class_exists('PDO')) {
|
|
exit('[Error] You have not installed the PDO extension');
|
|
}
|
|
|
|
if (!function_exists('openssl_encrypt')) {
|
|
exit('[Error] You have not installed the OpenSSL extension');
|
|
}
|
|
|
|
// handle the request
|
|
require __DIR__.'/bootstrap/handler.php';
|