aboutsummaryrefslogtreecommitdiffhomepage
path: root/install/wallabag_compatibility_test.php
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2015-01-31 23:35:45 +0100
committerThomas Citharel <tcit@tcit.fr>2015-01-31 23:35:45 +0100
commit22f19b23a6e9400b5776a9a7f0eedb9eb1b5362e (patch)
tree58ee661c15af6371fadd33ce5f5c24f6b0209ec3 /install/wallabag_compatibility_test.php
parentca056e7fd1e2bcc8390aabdc6b4fcb84aeb0d302 (diff)
downloadwallabag-22f19b23a6e9400b5776a9a7f0eedb9eb1b5362e.tar.gz
wallabag-22f19b23a6e9400b5776a9a7f0eedb9eb1b5362e.tar.zst
wallabag-22f19b23a6e9400b5776a9a7f0eedb9eb1b5362e.zip
view improvements & check if at least one pdo driver is available
Diffstat (limited to 'install/wallabag_compatibility_test.php')
-rw-r--r--install/wallabag_compatibility_test.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/install/wallabag_compatibility_test.php b/install/wallabag_compatibility_test.php
index 1093b2a3..3b465851 100644
--- a/install/wallabag_compatibility_test.php
+++ b/install/wallabag_compatibility_test.php
@@ -26,6 +26,7 @@ $allow_url_fopen_ok = (bool)ini_get('allow_url_fopen');
26$filter_ok = extension_loaded('filter'); 26$filter_ok = extension_loaded('filter');
27$gettext_ok = function_exists("gettext"); 27$gettext_ok = function_exists("gettext");
28$gd_ok = extension_loaded('gd'); 28$gd_ok = extension_loaded('gd');
29$pdo_drivers_passing = extension_loaded('pdo_sqlite') || extension_loaded('pdo_mysql') || extension_loaded('pdo_pgsql');
29 30
30if (extension_loaded('xmlreader')) { 31if (extension_loaded('xmlreader')) {
31 $xml_ok = true; 32 $xml_ok = true;
@@ -38,7 +39,7 @@ if (extension_loaded('xmlreader')) {
38 $xml_ok = false; 39 $xml_ok = false;
39} 40}
40 41
41$status = array('app_name' => $app_name, 'php' => $php_ok, 'pdo' => $pdo_ok, 'xml' => $xml_ok, 'pcre' => $pcre_ok, 'zlib' => $zlib_ok, 'mbstring' => $mbstring_ok, 'dom' => $dom_ok, 'iconv' => $iconv_ok, 'tidy' => $tidy_ok, 'curl' => $curl_ok, 'parse_ini' => $parse_ini_ok, 'parallel' => $parallel_ok, 'allow_url_fopen' => $allow_url_fopen_ok, 'filter' => $filter_ok, 'gettext' => $gettext_ok, 'gd' => $gd_ok); 42$status = array('app_name' => $app_name, 'php' => $php_ok, 'pdo' => $pdo_ok, 'pdo_drivers_passing' => $pdo_drivers_passing, 'xml' => $xml_ok, 'pcre' => $pcre_ok, 'zlib' => $zlib_ok, 'mbstring' => $mbstring_ok, 'dom' => $dom_ok, 'iconv' => $iconv_ok, 'tidy' => $tidy_ok, 'curl' => $curl_ok, 'parse_ini' => $parse_ini_ok, 'parallel' => $parallel_ok, 'allow_url_fopen' => $allow_url_fopen_ok, 'filter' => $filter_ok, 'gettext' => $gettext_ok, 'gd' => $gd_ok);
42 43
43return $status; 44return $status;
44} 45}