Skip to content

Exception or disable toolbar for specific URI  #195

Description

@sayonara90s

I have tried 'filter' and used 'except' key for URI, but not working.

    public $globals = [
        'before' => [
            //'csrf'
            'auth'
        ],
        'after'  => [
            'toolbar' => ['except' => 'source/*']
        ]
    ];

And I gotten an error:

ErrorException

    array_key_exists(): The first argument should be either a string or an integer

BASEPATH/Filters\Filters.php at line 69

Is there any suggestion?

I think that is only for development mode.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions