Projekt

Obecné

Profil

« Předchozí | Další » 

Revize c478920d

Přidáno uživatelem Ondřej Fibich před asi 9 roky(ů)

Undo my stupid mistake (I have pushed issue-957 to master instead of develop). Do I have copied files from GitHub master and push them back..

Zobrazit rozdíly:

application/libraries/Forge.php
*/
public function validate()
{
$upload_filesize = file::shortened_size_to_bytes(ini_get('upload_max_filesize'));
$post_size = file::shortened_size_to_bytes(ini_get('post_max_size'));
if ($upload_filesize > $post_size)
{
$upload_filesize = $post_size;
}
if (server::content_length() !== NULL &&
server::content_length() > $upload_filesize)
{
status::warning('Uploaded data exceeded PHP size limit');
return FALSE;
}
$status = TRUE;
// validate inputs

Také k dispozici: Unified diff