From: Marcin Haba Date: Sat, 18 May 2019 11:03:10 +0000 (+0200) Subject: baculum: Remove php database extensions dependency from web requirements X-Git-Tag: Release-9.4.4~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2ad894d4fdfcb1e2e6aec49da0c435e0a560605;p=thirdparty%2Fbacula.git baculum: Remove php database extensions dependency from web requirements --- diff --git a/gui/baculum/protected/Web/Pages/Requirements.php b/gui/baculum/protected/Web/Pages/Requirements.php index ac39a2329..ec1ecfd4a 100644 --- a/gui/baculum/protected/Web/Pages/Requirements.php +++ b/gui/baculum/protected/Web/Pages/Requirements.php @@ -62,10 +62,6 @@ class Requirements { $requirements[] = 'Please install BCMath PHP module.'; } - if(!extension_loaded('pdo_pgsql') && !extension_loaded('pdo_mysql')) { - $requirements[] = 'Please install PDO (PHP Data Objects) PHP module for PostgreSQL or MySQL depending on what database type you are using with Bacula.'; - } - if(!function_exists('mb_strlen')) { $requirements[] = 'Please install MB String PHP module for support for multi-byte string handling to PHP.'; } @@ -85,7 +81,7 @@ class Requirements { } echo ''; - echo 'For run Baculum please correct above requirements and refresh this page in web browser.'; + echo 'To run Baculum please correct above requirements and refresh this page in web browser.'; echo ''; exit(); }