Commit f38f4ca11ebc5398696bbef213ab190d979ce78c
1 parent
c1b478f9
KTS-2488
"Improve database incompatibility error message" Fixed/In Progress/Updated. Description of work done... Committed By:Yusuf Davids Reviewed By:Jalaloedien Abrahams git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@7682 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
3 additions
and
1 deletions
control.php
| 1 | 1 | <?php |
| 2 | 2 | /* |
| 3 | - * $Id:$ | |
| 3 | + * $Id$ | |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| ... | ... | @@ -81,6 +81,8 @@ if ($action != 'login') { |
| 81 | 81 | } |
| 82 | 82 | if (PEAR::isError($ret)) { |
| 83 | 83 | $url = $url . '&errorMessage=' . urlencode($ret->getMessage()); |
| 84 | + session_start(); | |
| 85 | + $_SESSION['errormessage']['login'] = $ret->getMessage(); | |
| 84 | 86 | } |
| 85 | 87 | redirect($url); |
| 86 | 88 | exit(0); | ... | ... |