Skip to content

Option to disable output via server side config #163

@userlond

Description

@userlond

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...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions