From 3882025b6c83fa9dd169a7dfcba047a608c18985 Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Sat, 30 Mar 2013 14:18:30 +0000
Subject: [PATCH] Moduł OPAC - wersja stworzona na podstawie głównego modułu

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