Commit f4cf6e5eb4928d6691197a78185c0766e8a28d05
1 parent
4760639c
fixed for the case where owl_root_url=""
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@502 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
1 additions
and
1 deletions
presentation/logout.php
| @@ -21,5 +21,5 @@ require_once("../config/dmsDefaults.php"); | @@ -21,5 +21,5 @@ require_once("../config/dmsDefaults.php"); | ||
| 21 | // destroy the session | 21 | // destroy the session |
| 22 | Session::destroy(); | 22 | Session::destroy(); |
| 23 | // redirect to root | 23 | // redirect to root |
| 24 | -redirect("$default->owl_root_url"); | 24 | +redirect((strlen($default->owl_root_url) > 0 ? $default->owl_root_url : "/")); |
| 25 | ?> | 25 | ?> |