From 1020bf46ae33bb0dc552ad77d0e9a42fce8e337b Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Sun, 06 Jul 2014 21:49:10 +0000
Subject: [PATCH] [mod_data] Poprawienie możliwości wyświetlenia błędnego numeru roku w dacie

---
 test.php |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/test.php b/test.php
index 3f846ea..6b3be46 100644
--- a/test.php
+++ b/test.php
@@ -18,7 +18,7 @@
 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'));
@@ -42,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');
@@ -51,10 +50,10 @@
 testdir('./data/rss');
 testdir('./data/tv');
 testdir('./data/tv/cache');
-test('./db', !is_dir('./db') || is_writable('./db'));
-if(is_dir('./database')) {
-	testdir('./database');
+if(is_dir('./db')) {
+	testdir('./db');
 }
+testdir('./database');
 
 echo '</table>';
 ?>

--
Gitblit v1.9.1