mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-11-29 10:53:33 +00:00
pass $settings to view
This commit is contained in:
parent
2883b61830
commit
59ec02cec0
|
|
@ -59,6 +59,7 @@ class UI extends UI_Default {
|
||||||
/* Set some configuration parameters */
|
/* Set some configuration parameters */
|
||||||
$view->setParam('refferer', $_SERVER['REQUEST_URI']);
|
$view->setParam('refferer', $_SERVER['REQUEST_URI']);
|
||||||
$view->setParam('session', $session);
|
$view->setParam('session', $session);
|
||||||
|
$view->setParam('settings', $settings);
|
||||||
$view->setParam('sitename', $settings->_siteName);
|
$view->setParam('sitename', $settings->_siteName);
|
||||||
$view->setParam('rootfolderid', $settings->_rootFolderID);
|
$view->setParam('rootfolderid', $settings->_rootFolderID);
|
||||||
$view->setParam('disableselfedit', $settings->_disableSelfEdit);
|
$view->setParam('disableselfedit', $settings->_disableSelfEdit);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user