mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Added missing mysql extension check
This commit is contained in:
parent
f6f0d89cf9
commit
2f77d38e42
@ -360,6 +360,8 @@ ini_set('error_log', LOG_DIR .'php_err.log'); // имя лог файла
|
||||
// Check some variable
|
||||
// Magic quotes
|
||||
if (@get_magic_quotes_gpc()) die('Set magic_quotes off');
|
||||
// MySQL
|
||||
if (!extension_loaded('mysql')) die('Mysql extension not installed');
|
||||
// JSON
|
||||
if (!function_exists('json_encode')) die('Json_encode not installed');
|
||||
// Mbstring
|
||||
|
Loading…
Reference in New Issue
Block a user