No changes
This commit is contained in:
parent
8680a02b13
commit
b6b398f5bf
17374 changed files with 2475441 additions and 0 deletions
14
ControlPanel/modules/mysql/functions.php
Normal file
14
ControlPanel/modules/mysql/functions.php
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?php
|
||||
function suhosin_function_exists($func) {
|
||||
if (extension_loaded('suhosin')) {
|
||||
$suhosin = @ini_get("suhosin.executor.func.blacklist");
|
||||
if (empty($suhosin) == false) {
|
||||
$suhosin = explode(',', $suhosin);
|
||||
$suhosin = array_map('trim', $suhosin);
|
||||
$suhosin = array_map('strtolower', $suhosin);
|
||||
return (function_exists($func) == true && array_search($func, $suhosin) === false);
|
||||
}
|
||||
}
|
||||
return function_exists($func);
|
||||
}
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue