mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-11 09:35:00 +00:00
pass httproot to view
This commit is contained in:
parent
e020f212b0
commit
c2c8ea38bf
|
@ -28,7 +28,7 @@ if (!$user->isAdmin()) {
|
|||
}
|
||||
|
||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user));
|
||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'httproot'=>$settings->_httpRoot));
|
||||
if($view) {
|
||||
$view->show();
|
||||
exit;
|
||||
|
|
Loading…
Reference in New Issue
Block a user