Commit 763d526d66f6cd28b18e4c7ed5dbc01b1d59a848

Authored by Michael Joseph
1 parent 9d4d1267

updated generateControllerLink with server and https prefix


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@900 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing 1 changed file with 1 additions and 1 deletions
lib/session/control.inc
... ... @@ -64,7 +64,7 @@ function generateControllerUrl($action, $queryString = "") {
64 64 * @return string the generated href
65 65 */
66 66 function generateControllerLink($action, $linkText, $queryString = "") {
67   - return "<a href=\"" . generateControllerUrl($action, $queryString) . "\">$linkText</a>";
  67 + return "<a href=\"https://" . $_SERVER["SERVER_NAME"] . generateControllerUrl($action, $queryString) . "\">$linkText</a>";
68 68 }
69 69  
70 70 /**
... ...