From f84915fbde3aeaad125bb48821bbb5f70a68224b Mon Sep 17 00:00:00 2001 From: Jacek Kowalski <Jacek@jacekk.info> Date: Fri, 22 Mar 2013 20:15:39 +0000 Subject: [PATCH] Poprawka błędnego zapytania przy wyszukiwaniu książek z MATCH ... AGAINST ... --- 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