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:
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user