From 07517ae563097e04e91ea3fae2c2ca1cf2309b86 Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Mon, 16 Dec 2019 20:48:17 +0000
Subject: [PATCH] Użycie API REST do pobierania danych z Biblioteki Narodowej

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