Mercurial > hg > fapweb
changeset 84:1f34037a7cae
Set some default parameters.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 18 Oct 2013 09:05:21 +0300 |
parents | 4d32e870dda7 |
children | 50d6c69836a1 |
files | msession.inc.php |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/msession.inc.php Thu Oct 17 22:44:41 2013 +0300 +++ b/msession.inc.php Fri Oct 18 09:05:21 2013 +0300 @@ -125,7 +125,7 @@ } -function stAdmSessionAuth($silent) +function stAdmSessionAuth($silent = FALSE) { if (@session_start() === TRUE && stGetSpecSessionItem(SESS_ADMIN, "key", FALSE) == stGetSetting("admPassword")) @@ -141,7 +141,7 @@ } -function stUserSessionAuth($silent) +function stUserSessionAuth($silent = FALSE) { if (@session_start() === TRUE && stGetSpecSessionItem(SESS_USER, "key", FALSE) !== FALSE)