Commit f9e8975c57b4e3b432f49a1174eab59023b0a6af
1 parent
e681ee52
changed to redirect to no permissions page
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@438 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
2 additions
and
3 deletions
presentation/dashboardBL.php
| @@ -120,9 +120,8 @@ if (checkSession()) { | @@ -120,9 +120,8 @@ if (checkSession()) { | ||
| 120 | $tmp->render(); | 120 | $tmp->render(); |
| 121 | 121 | ||
| 122 | } else { | 122 | } else { |
| 123 | - // FIXME: redirect to no permission page | ||
| 124 | - print "you do not have access to view this page! please go away, and come back when you do.<br>"; | ||
| 125 | - echo generateLink("logout") . "logout</a>"; | 123 | + // redirect to no permission page |
| 124 | + redirect("$default->owl_ui_url/noAccess.php"); | ||
| 126 | } | 125 | } |
| 127 | ?> | 126 | ?> |
| 128 | 127 |