/var/www/hkosl.com/imusiccircle/webadmin/libraies/php-console/php-console/tests/scripts/set_connector_eval_enabled.php


1
2
3
4
5
6
7
8
9
10
11
12
<?php

$exitOnEval 
= isset($exitOnEval) ? $exitOnEval true;
$flushDebugMessages = isset($flushDebugMessages) ? $flushDebugMessages true;

$connector PhpConsole\Connector::getInstance();

if(isset(
$evalProvider)) {
    
$connector->getEvalDispatcher()->setEvalProvider($evalProvider);
}
$connector->startEvalRequestsListener($exitOnEval$flushDebugMessages);