Commit 65ebf920bbe51873f9e9f977be58f70d77520ef5
1 parent
bdd9ed95
KTS-1500
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@6113 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
5 additions
and
0 deletions
control.php
| ... | ... | @@ -112,6 +112,11 @@ if (empty($queryString)) { |
| 112 | 112 | } |
| 113 | 113 | } |
| 114 | 114 | |
| 115 | +if ($action == 'dashboard') { | |
| 116 | + $oKTConfig = KTConfig::getSingleton(); | |
| 117 | + if(!$oKTConfig->get('useNewDashboard')) $action = 'olddashboard'; | |
| 118 | +} | |
| 119 | + | |
| 115 | 120 | // retrieve the page from the sitemap (checks whether this user has access to the requested page) |
| 116 | 121 | $page = $default->siteMap->getPage($action, isset($_SESSION["userID"]) ? $_SESSION["userID"] : ""); |
| 117 | 122 | ... | ... |