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 |    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