mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-26 05:32:59 +00:00
Bugfix: Fixed failed upload message
This commit is contained in:
parent
352a0c873c
commit
121871f9e8
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ register_module([
|
||||||
if(!move_uploaded_file($temp_filename, $env->storage_prefix . $new_filename))
|
if(!move_uploaded_file($temp_filename, $env->storage_prefix . $new_filename))
|
||||||
{
|
{
|
||||||
http_response_code(409);
|
http_response_code(409);
|
||||||
exit(page_renderer::render("Upload Error - $settings->sitename", "<p>The file you uploaded was valid, but $settings->sitename couldn't verify that it was tampered with during the upload process. This probably means that $settings->sitename has been attacked. Please contact " . $settings->admindetails . ", your $settings->sitename Administrator.</p>"));
|
exit(page_renderer::render("Upload Error - $settings->sitename", "<p>The file you uploaded was valid, but $settings->sitename couldn't verify that it was tampered with during the upload process. This probably means that either is a configuration error, or $settings->sitename has been attacked. Please contact " . $settings->admindetails["name"] . ", your $settings->sitename Administrator.</p>"));
|
||||||
}
|
}
|
||||||
|
|
||||||
$description = $_POST["description"];
|
$description = $_POST["description"];
|
||||||
|
|
Loading…
Reference in a new issue