Пример #1
0
function debuggerTest()
{
    @ini_set('zend_monitor.enable', 0);
    if (@function_exists('output_cache_disable')) {
        @output_cache_disable();
    }
    if (isset($_GET['debugger_connect']) && $_GET['debugger_connect'] == 1) {
        echo "debugger_connect<br>";
        if (function_exists('debugger_connect')) {
            debugger_connect();
            echo "after debugger_connect";
            exit;
        } else {
            echo "No connector is installed.";
        }
    }
}
Пример #2
0
<?php

@ini_set('zend_monitor.enable', 0);
if (@function_exists('output_cache_disable')) {
    @output_cache_disable();
}
if (isset($_GET['debugger_connect']) && $_GET['debugger_connect'] == 1) {
    if (function_exists('debugger_connect')) {
        debugger_connect();
        exit;
    } else {
        echo "No connector is installed.";
    }
}