From 6cba3f7a45bef8753536a47c1d282dcdcdfde68f Mon Sep 17 00:00:00 2001 From: Jacek Kowalski <Jacek@jacekk.info> Date: Fri, 17 May 2013 15:35:03 +0000 Subject: [PATCH] Poprawki w systemie inwentaryzacji - dodanie m.in. brakujÄ…cego require() --- 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