= 50400; } if (!isPHPVersionSupported()) { $title = 'Unsupported PHP version'; $text = '
You are using old, unsupported PHP version.
Your PHP version: ' . phpversion() . ', required PHP version: 5.4.0.
Please update your PHP installation and try again.
'; die(showError($title, $text)); } if (!extension_loaded("mbstring")) { $title = 'MBString extension is missing'; $text = 'Required PHP extension: mbstring
has not been found on the server.
Follow this instructions if you are using Ubuntu 16.04 with PHP 7.0 (recommended). Otherwise, installation instructions can be found on Google ;)
If you are using Web Hosting service, please contact the Hosting support for instruction on enabling mbstring.
'; die(showError($title, $text)); } try { require_once __DIR__ . "/../lib/phpfastcache/autoload.php"; \phpFastCache\CacheManager::Files(); } catch (\phpFastCache\Exceptions\phpFastCacheDriverException $e) { $title = 'Directory is not writable'; $text = 'Please make sure that the whole website directory including subdirectories is fully writable.
'; die(showError($title, $text)); } if(!file_exists(__DIR__ . "/../config/config.php")) { $title = 'config.php does not exists'; $text = 'Please go into the directory config
and rename config.template.php
to config.php
.
Edit the new file and tweak it to suite your needs.
'; die(showError($title, $text)); } // FUNCTION function showError($title, $text) { ?>