From ff648fb80a91d22f26a49d981e90068b2b47adcb Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Sun, 19 Jan 2014 22:41:29 +0000
Subject: [PATCH] 1. Dodanie podstawowej obsługi kanałów formacie Atom (m.in. Onet.pl). 2. Opisanie sposobu rejestracji w serwicie GeoNames (skrypt pogody).

---
 test.php |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/test.php b/test.php
index 03dbbcd..6b3be46 100644
--- a/test.php
+++ b/test.php
@@ -18,10 +18,12 @@
 echo '<table>
 <tr> <th class="head" colspan="2">Interpreter PHP</th> </tr>
 ';
-test('Wersja PHP >= 5.2', version_compare(PHP_VERSION, '5.2.0', '>='));
+test('Wersja PHP >= 5.3', version_compare(PHP_VERSION, '5.3.0', '>='));
 test('magic_quotes_gpc = Off', (get_magic_quotes_gpc() == 0));
 test('allow_url_fopen = On', (ini_get('allow_url_fopen') == 1));
 test('setlocale(pl_PL.UTF8)', setlocale(LC_CTYPE, 'pl_PL.UTF8', 'pl_PL', 'polish', 'plk'));
+test('proc_open(\'aspell\')', ($p=@proc_open('aspell', array(array('pipe', 'r'), array('pipe', 'w'), array('file', '/dev/null', 'w')), $pipe)) !== FALSE);
+@proc_close($p);
 
 echo '<tr> <th class="head" colspan="2">Rozszerzenia PHP</th> </tr>
 ';
@@ -40,7 +42,6 @@
 testdir('./data');
 testdir('./data/humor');
 testdir('./data/humor/archiwum');
-testdir('./data/kino/cache');
 testdir('./data/kurs');
 testdir('./data/kurs/archiwum');
 testdir('./data/lotto');
@@ -49,7 +50,9 @@
 testdir('./data/rss');
 testdir('./data/tv');
 testdir('./data/tv/cache');
-testdir('./db');
+if(is_dir('./db')) {
+	testdir('./db');
+}
 testdir('./database');
 
 echo '</table>';

--
Gitblit v1.9.1