mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
use _REQUEST instead of _GET for currenttab
This commit is contained in:
parent
f616c6cf39
commit
975012768e
|
@ -33,7 +33,7 @@ if(!trim($settings->_encryptionKey))
|
|||
$settings->_encryptionKey = md5(uniqid());
|
||||
|
||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'settings'=>$settings, 'currenttab'=>(isset($_GET['currenttab']) ? $_GET['currenttab'] : '')));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'settings'=>$settings, 'currenttab'=>(isset($_REQUEST['currenttab']) ? $_REQUEST['currenttab'] : '')));
|
||||
if($view) {
|
||||
$view->show();
|
||||
exit;
|
||||
|
|
Loading…
Reference in New Issue
Block a user