diff 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
line wrap: on
line diff
--- a/msitegen.inc.php	Wed Nov 06 10:14:37 2013 +0200
+++ b/msitegen.inc.php	Wed Nov 06 10:17:47 2013 +0200
@@ -25,6 +25,13 @@
 }
 
 
+function stDebug($msg)
+{
+  if (stGetSetting("debug"))
+    error_log($msg);
+}
+
+
 function stError($msg)
 {
   global $errorSet, $errorMsg;