You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any option to disable/enable php-console functionality during its inititalisation via server code?
For example. I have some constant, let's call it DEBUG. If DEBUG is set to false, I want to completele mute the extension, as it isn't used on server at all.
The first solution is to make initialisation block conditional, i.e. wrap it into something like if (DEBUG) { // init php-console}, but this way any call to PhpConsole in my code will raise an error...
The text was updated successfully, but these errors were encountered:
Is there any option to disable/enable php-console functionality during its inititalisation via server code?
For example. I have some constant, let's call it
DEBUG
. IfDEBUG
is set to false, I want to completele mute the extension, as it isn't used on server at all.The first solution is to make initialisation block conditional, i.e. wrap it into something like
if (DEBUG) { // init php-console}
, but this way any call to PhpConsole in my code will raise an error...The text was updated successfully, but these errors were encountered: