the right file to debug markdown

git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1489 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
2014-06-25 19:04:16 +00:00
parent 94b77ec490
commit 86bb25a688

View File

@@ -382,6 +382,7 @@ class markdown
if ($this->debug === false) return; if ($this->debug === false) return;
$trace = debug_backtrace(); $trace = debug_backtrace();
$back = reset ($trace); $back = reset ($trace);
file_put_contents ("/tmp/debug", "[".$back["line"]."] $msg\n", FILE_APPEND); file_put_contents ("/tmp/debugMD", "[".$back["line"]."] $msg\n",
FILE_APPEND);
} }
} }