Skip to content
Snippets Groups Projects
Verified Commit 8d1b700f authored by Damien's avatar Damien
Browse files

FIX #11202 TIME 0:20 Display error message when file not on tmp

parent 3ed6eb51
No related branches found
No related tags found
No related merge requests found
......@@ -95,7 +95,7 @@ if (isset($_GET['num'])) {
readfile($loc);
exit();
} else {
echo '<br/><br/><div class="error" style="display:block">'._PROBLEM_LOADING_FILE_TMP_DIR.'.</div>';
echo '<br/><br/><div class="error" style="display:block">'._PROBLEM_LOADING_FILE_TMP_DIR. " : {$return['errors']}" .'.</div>';
exit();
}
$extension = explode('.', $_SESSION['upfile'][$num]['name']);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment