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
|
@ -147,6 +147,14 @@ if (isset($config->pickles['session']))
|
|||
}
|
||||
}
|
||||
|
||||
// }}}
|
||||
// {{{ Defaults some internals for ease of use
|
||||
|
||||
if (!isset($_REQUEST['request']))
|
||||
{
|
||||
$_REQUEST['request'] = isset($config->pickles['module']) ? $config->pickles['module'] : '';
|
||||
}
|
||||
|
||||
// }}}
|
||||
// {{{ Auto[magical] Loader
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue