From bc710e890d99f522d4adb0fa9bff5b0504a5a036 Mon Sep 17 00:00:00 2001 From: Jacek Kowalski <Jacek@jacekk.info> Date: Mon, 28 Aug 2017 10:33:48 +0000 Subject: [PATCH] Fixes for PHP 7.0 compatibility --- includes/std.php | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/std.php b/includes/std.php index 22ae52e..bf71a22 100644 --- a/includes/std.php +++ b/includes/std.php @@ -1,7 +1,7 @@ <?php define('STANDARD', TRUE); -class error { +class errorclass { static $time; static function add($text) { $title = 'Błąd'; @@ -14,7 +14,7 @@ } } -error::$time = microtime(TRUE); +errorclass::$time = microtime(TRUE); function __autoload($class) { if($class == 'sql') { -- Gitblit v1.9.1