Fixed up some more debug statements

This commit is contained in:
moodler
2006-09-18 13:26:58 +00:00
parent 0e1cc9070b
commit 779ef7fc0b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -94,7 +94,7 @@
if (file_exists($pathname)) {
send_file($pathname, $image);
} else {
if ($CFG->debug > 7) {
if (debugging()) {
echo "The shell command<br />$cmd<br />returned status = $status<br />\n";
echo "Image not found!<br />";
echo "Please try the <a href=\"$CFG->wwwroot/$CFG->algebrafilterdir/algebradebug.php\">debugging script</a>";
+1 -1
View File
@@ -113,7 +113,7 @@
if (file_exists($pathname)) {
send_file($pathname, $image);
} else {
if ($CFG->debug > 7) {
if (debugging()) {
echo "The shell command<br />$cmd<br />returned status = $status<br />\n";
echo "Image not found!<br />";
echo "Please try the <a href=\"$CFG->wwwroot/$CFG->texfilterdir/texdebug.php\">debugging script</a>";