Welcome Guest, Not a member yet? Register   Sign In
Undefined variable: _SESSION
#5

According with this lines https://github.com/codeigniter4/CodeIgni...#L288-L300 the filters will run if match the config.

Maybe a property in the user filter class could help with that. Or in the \Config\Filters.

PHP Code:
public $ignored = [
 
   'cli'  => ['serve''etc'],
 
   'http' => [],
]; 

Otherwise you will always need to add something like https://github.com/codeigniter4/CodeIgni...hp#L27-L30
Reply


Messages In This Thread
Undefined variable: _SESSION - by NiteRaven - 11-20-2018, 08:56 AM
RE: Undefined variable: _SESSION - by NiteRaven - 11-20-2018, 04:12 PM
RE: Undefined variable: _SESSION - by ciadmin - 11-20-2018, 05:50 PM
RE: Undefined variable: _SESSION - by NiteRaven - 11-20-2018, 06:18 PM
RE: Undefined variable: _SESSION - by natanfelles - 11-20-2018, 08:34 PM
RE: Undefined variable: _SESSION - by kilishan - 11-20-2018, 08:36 PM
RE: Undefined variable: _SESSION - by kilishan - 11-22-2018, 09:49 PM
RE: Undefined variable: _SESSION - by NiteRaven - 11-24-2018, 10:42 AM
RE: Undefined variable: _SESSION - by NiteRaven - 12-02-2018, 03:14 PM
RE: Undefined variable: _SESSION - by kilishan - 12-03-2018, 02:03 PM
RE: Undefined variable: _SESSION - by NiteRaven - 12-03-2018, 02:26 PM
RE: Undefined variable: _SESSION - by kilishan - 12-03-2018, 02:34 PM



Theme © iAndrew 2016 - Forum software by © MyBB