1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 20:00:37 +02:00

#370 - Added some debug info which may help

This commit is contained in:
Moc
2013-06-03 00:26:08 +02:00
parent 5af8208c7e
commit b03bd30b67

View File

@@ -2,7 +2,7 @@
require_once("../../class2.php");
include_lan(e_PLUGIN."download/languages/".e_LANGUAGE."/download.php");
$log = e107::getAdminLog(); // temporary debug
$id = FALSE;
if (!is_numeric(e_QUERY))
@@ -205,6 +205,9 @@ if ($type == "file")
e107::getFile()->send(e_UPLOAD.$download_url);
exit();
}
$log->addError("Couldn't find ".e_UPLOAD.$download_url." or ".e_DOWNLOAD.$download_url);
$log->toFile('download_requests','Download Requests', true); // temporary debug
}
}
else
@@ -317,7 +320,7 @@ else
}
}
$log->toFile('download_requests','Download Requests', true); // temporary debug
function check_download_limits()
{