mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Update config.php
This commit is contained in:
parent
09d63c2248
commit
37096fd849
@ -360,11 +360,13 @@ ini_set('error_log', LOG_DIR .'php_err.log'); // имя лог файла
|
|||||||
|
|
||||||
// Check some variable
|
// Check some variable
|
||||||
// Magic quotes
|
// Magic quotes
|
||||||
if (@get_magic_quotes_gpc()) die('Set magic_quotes off');
|
if (@get_magic_quotes_gpc()) die('Set: magic_quotes_gpc = Off');
|
||||||
// MySQL
|
// MySQL
|
||||||
if (!extension_loaded('mysql')) die('Mysql extension not installed');
|
if (!extension_loaded('mysql')) die('MySQL extension not installed');
|
||||||
// JSON
|
// JSON
|
||||||
if (!function_exists('json_encode')) die('Json_encode not installed');
|
if (!function_exists('json_encode')) die('json_encode() functions not exists');
|
||||||
|
// getmypid
|
||||||
|
if (!function_exists('getmypid') || !getmypid()) die('getmypid() functions is disabled');
|
||||||
// Mbstring
|
// Mbstring
|
||||||
if (!extension_loaded('mbstring')) die('Mbstring extension not installed');
|
if (!extension_loaded('mbstring')) die('Mbstring extension not installed');
|
||||||
// BCMath
|
// BCMath
|
||||||
|
Loading…
Reference in New Issue
Block a user