From adfb2d2afab2b017db7006fcb7808d66aa2ef411 Mon Sep 17 00:00:00 2001 From: Jacek Kowalski <Jacek@jacekk.info> Date: Mon, 28 Aug 2017 10:35:37 +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