summaryrefslogtreecommitdiff
path: root/requirements
diff options
context:
space:
mode:
authorwei <>2006-01-29 05:08:51 +0000
committerwei <>2006-01-29 05:08:51 +0000
commitf8a6ad7273f2abd3c5c176910b63532b990446ca (patch)
tree5061bb8d319f7b778bbf3c8e1e0a2118a8165f0f /requirements
parent8c89c21a89c114624ab20a8f48c304f0de3727b0 (diff)
add requirement check for ICONV
Diffstat (limited to 'requirements')
-rw-r--r--requirements/index.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/requirements/index.php b/requirements/index.php
index 357e0d16..311aad22 100644
--- a/requirements/index.php
+++ b/requirements/index.php
@@ -33,6 +33,7 @@ $requirements = array(
array(true,'version_compare(PHP_VERSION,"5.0.4",">=")','PHP version check','PHP 5.0.4 or higher required'),
array(false,'version_compare(PHP_VERSION,"5.1.0",">=")','PHP version check','PHP 5.1.0 or higher preferred'),
array(true,'class_exists("DOMDocument",false)','DOM extension check','DOM extension required'),
+ array(false,'function_exists("iconv")','ICONV function check','ICONV extension is required by some Internationalization components.'),
array(false,'extension_loaded("zlib")','Zlib check','Zlib extension optional'),
array(false,'extension_loaded("sqlite")','SQLite check','SQLite extension optional'),
array(false,'extension_loaded("memcache")','Memcache check','Memcache extension optional'),
@@ -79,7 +80,7 @@ $tokens = array(
'%%Conclusion%%' => $conclusion,
'%%Details%%' => $results,
'%%Version%%' => $_SERVER['SERVER_SOFTWARE'].' <a href="http://www.pradosoft.com/">PRADO</a>/'.getPradoVersion(),
- '%%Time%%' => strftime('%Y-%m-%d %H:%m',time()),
+ '%%Time%%' => @strftime('%Y-%m-%d %H:%m',time()),
);
$lang=getPreferredLanguage();