Mercurial > hg > fapweb
comparison msitegen.inc.php @ 173:fef53f6170b5
Move stDebug() to msitegen module.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 06 Nov 2013 10:17:47 +0200 |
parents | 2359744b4087 |
children | 63c840590476 |
comparison
equal
deleted
inserted
replaced
172:2359744b4087 | 173:fef53f6170b5 |
---|---|
20 // Use cookies to store the session ID on the client side | 20 // Use cookies to store the session ID on the client side |
21 @ini_set("session.use_only_cookies", 1); | 21 @ini_set("session.use_only_cookies", 1); |
22 | 22 |
23 // Disable transparent Session ID support | 23 // Disable transparent Session ID support |
24 @ini_set("session.use_trans_sid", 0); | 24 @ini_set("session.use_trans_sid", 0); |
25 } | |
26 | |
27 | |
28 function stDebug($msg) | |
29 { | |
30 if (stGetSetting("debug")) | |
31 error_log($msg); | |
25 } | 32 } |
26 | 33 |
27 | 34 |
28 function stError($msg) | 35 function stError($msg) |
29 { | 36 { |