From 51eea1c5e113e25683109b3544d847ee0668d921 Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Thu, 19 Sep 2019 09:17:18 +0000
Subject: [PATCH] Zmiana adresu Z39 Biblioteki Narodowej

---
 test.php |   19 +++++++++++++------
 1 files changed, 13 insertions(+), 6 deletions(-)

diff --git a/test.php b/test.php
index 2aef5c7..815f15f 100644
--- a/test.php
+++ b/test.php
@@ -31,9 +31,16 @@
 
 
 <tr> <th class="head" colspan="2">Baza danych</th> </tr>
-<tr> <th>Ustawienia bazy<br />(/includes/db2.php)</th> <td><?php echo NT; ?></td> </tr>
-<tr> <th>Rozszerzenie MySQL</th> <td><?php
-if(!extension_loaded('mysql')) {
+<tr> <th>Ustawienia bazy<br />(/includes/config.php)</th> <td><?php echo NT; ?></td> </tr>
+<tr> <th>Rozszerzenie PDO</th> <td><?php
+if(!extension_loaded('pdo')) {
+	echo FAIL;
+	$mysql = FALSE;
+}
+else echo OK;
+?></td> </tr>
+<tr> <th>Rozszerzenie PDO MySQL</th> <td><?php
+if(!extension_loaded('pdo_mysql')) {
 	echo FAIL;
 	$mysql = FALSE;
 }
@@ -79,13 +86,13 @@
 	echo SFAIL;
 	$curl = FALSE;
 } else echo OK; ?></td> </tr>
-<tr> <th>LibraryThing API key<br />(/includes/ksiazki.php)</th> <td><?php
+<tr> <th>LibraryThing API key<br />(/includes/config.php)</th> <td><?php
 if($curl === FALSE)
 	echo NT;
-elseif(!empty(ksiazki::$LT_API))
+elseif(!empty(config::$lt_api))
 	echo OK;
 else
-	echo FAIL;
+	echo SFAIL;
 ?></td> </tr>
 <tr> <th>Uprawnienia dla katalogu<br />
 /covers</th> <td><?php

--
Gitblit v1.9.1