Ignore:
Timestamp:
Apr 14, 2017 5:59:29 AM (7 years ago)
Author:
anonymous
Message:

Add notification to user if logged out because of shifting IP address. Minor bugs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Validator.inc.php

    r575 r593  
    573573        $upload_max_filesize = phpIniGetBytes('upload_max_filesize');
    574574        if (isset($_SERVER['CONTENT_LENGTH']) && 0 != $upload_max_filesize && $_SERVER['CONTENT_LENGTH'] > $upload_max_filesize) {
    575             $app->logMsg(sprintf('%s (line %s) failed: %s', __METHOD__, __LINE__, getDump($val)), $type, $file, $line);
     575            $app->logMsg(sprintf('%s (line %s) failed: filesize %s exceeds limit of %s', __METHOD__, __LINE__, $_SERVER['CONTENT_LENGTH'], $upload_max_filesize), $type, $file, $line);
    576576            return false;
    577577        }
Note: See TracChangeset for help on using the changeset viewer.