Commit 7f8933c066a4c3b9093e82ed83dd6e0a53bfb845
1 parent
efe56225
updated paths for new file locations
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@405 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
3 changed files
with
12 additions
and
11 deletions
presentation/browseBL.php
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | +// main library routines and defaults | |
| 4 | +require_once("../config/dmsDefaults.php"); | |
| 5 | +require_once("$default->owl_fs_root/lib/visualpatterns/PatternMainPage.inc"); | |
| 6 | +require_once("$default->owl_fs_root/lib/visualpatterns/PatternImage.inc"); | |
| 7 | +require_once("$default->owl_fs_root/lib/visualpatterns/PatternTableLinks.inc"); | |
| 8 | +require_once("$default->owl_fs_root/lib/visualpatterns/PatternTableSqlQuery.inc"); | |
| 9 | +require_once("$default->owl_fs_root/lib/visualpatterns/PatternCustom.inc"); | |
| 10 | + | |
| 3 | 11 | /** |
| 4 | 12 | * $Id$ |
| 5 | 13 | * |
| ... | ... | @@ -23,14 +31,7 @@ |
| 23 | 31 | * fCategoryName - the category to browse [optional depending on fBrowseType] |
| 24 | 32 | * fDocumentTypeID - the document type id to browse [optional depending on fBrowseType] |
| 25 | 33 | */ |
| 26 | - | |
| 27 | -// main library routines and defaults | |
| 28 | -require_once("./config/dmsDefaults.php"); | |
| 29 | -require_once("$default->owl_fs_root/lib/visualpatterns/PatternMainPage.inc"); | |
| 30 | -require_once("$default->owl_fs_root/lib/visualpatterns/PatternImage.inc"); | |
| 31 | -require_once("$default->owl_fs_root/lib/visualpatterns/PatternTableLinks.inc"); | |
| 32 | -require_once("$default->owl_fs_root/lib/visualpatterns/PatternTableSqlQuery.inc"); | |
| 33 | -require_once("$default->owl_fs_root/lib/visualpatterns/PatternCustom.inc"); | |
| 34 | + | |
| 34 | 35 | |
| 35 | 36 | // ------------------------------- |
| 36 | 37 | // page start | ... | ... |
presentation/login.php
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | // main library routines and defaults |
| 4 | -require_once("./config/dmsDefaults.php"); | |
| 4 | +require_once("../config/dmsDefaults.php"); | |
| 5 | 5 | |
| 6 | 6 | /** |
| 7 | 7 | * $Id$ |
| ... | ... | @@ -72,7 +72,7 @@ if ($loginAction == "loginForm") { |
| 72 | 72 | // else redirect to the dashboard |
| 73 | 73 | } else { |
| 74 | 74 | $_SESSION["authorised"] = false; |
| 75 | - $url = "control.php?action=dashboard"; | |
| 75 | + $url = "/control.php?action=dashboard"; | |
| 76 | 76 | } |
| 77 | 77 | break; |
| 78 | 78 | // login disabled | ... | ... |