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 |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/includes/std.php b/includes/std.php
index 9d4a8b9..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') {
@@ -22,4 +22,4 @@
 	}
 	require_once('./includes/'.$class.'.php');
 }
-?>
\ No newline at end of file
+?>

--
Gitblit v1.9.1