PHP 5.4 warning on deprecated mysql api is ignored to avoid folld in errors file...
authorJanusz Dobrowolski <janusz@frontaccounting.eu>
Mon, 1 Sep 2014 12:18:04 +0000 (14:18 +0200)
committerJanusz Dobrowolski <janusz@frontaccounting.eu>
Mon, 1 Sep 2014 12:18:04 +0000 (14:18 +0200)
includes/errors.inc

index e59e14b059294715b172ca9775ca010bd1320d8e..0e8b2578b1978d0e92f3fa5aca9bba8d93f2a67d 100644 (file)
@@ -62,7 +62,8 @@ function error_handler($errno, $errstr, $file, $line) {
        // Please use restrainedly to not risk loss of important messages
        $excluded_warnings = array(
                'html_entity_decode', 'htmlspecialchars',       // nevermind encodings, special chars are processed anyway
-               'should be compatible with that'                        // ignore cpdf/frontreport wrapper warnings
+               'should be compatible with that',                       // ignore cpdf/frontreport wrapper warnings
+               'mysql extension is deprecated'                         // ignore strict warning in 5.4
        );
        foreach($excluded_warnings as $ref) {
                if (strpos($errstr, $ref) !== false) {