changeset 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
files msession.inc.php msitegen.inc.php
diffstat 2 files changed, 7 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/msession.inc.php	Wed Nov 06 10:14:37 2013 +0200
+++ b/msession.inc.php	Wed Nov 06 10:17:47 2013 +0200
@@ -5,13 +5,6 @@
 // (C) Copyright 2012-2013 Tecnic Software productions (TNSP)
 //
 
-function stDebug($msg)
-{
-  if (stGetSetting("debug"))
-    error_log($msg);
-}
-
-
 function stGetSpecSessionItem($stype, $name, $default = "")
 {
   if (isset($stype))
--- 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;