function phpinfo_page()
{
    info_disabled_check();
    if (function_is_disabled('phpinfo')) {
        echo "phpinfo is disabled on this server";
    } else {
        @phpinfo();
    }
}
Beispiel #2
0
function runtime_loading_is_possible()
{
    return !(ini_get('safe_mode') || !ini_get('enable_dl') || !function_exists('dl') || function_is_disabled('dl') || threaded_and_not_cgi());
}
Beispiel #3
0
function runtime_loading_is_possible() {
    return !((is_php_version_or_greater(5,2,5) && "." != extension_dir()) || ini_get('safe_mode') || !ini_get('enable_dl') || !function_exists('dl') || function_is_disabled('dl') || threaded_and_not_cgi());
}