Set _REQUEST['request'] by default
Should alleviate some redundant isset()s throughout a site's code
This commit is contained in:
parent
e05dd7c79e
commit
482f77c10b
4 changed files with 38 additions and 44 deletions
|
@ -124,7 +124,7 @@ class Session extends Object
|
|||
*/
|
||||
public function __construct()
|
||||
{
|
||||
if (!IS_CLI && (isset($_REQUEST['request']) == false || preg_match('/^__pickles\/(css|js)\/.+$/', $_REQUEST['request']) == false))
|
||||
if (!IS_CLI)
|
||||
{
|
||||
parent::__construct();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue