Add temporary requirement for the DOM php module
Should be removed once dompdf isn't shipped with Icinga Web 2 anymore refs #7163 refs #6172
This commit is contained in:
parent
c8e323e8a7
commit
504853961b
|
@ -397,6 +397,16 @@ class WebSetup extends Wizard implements SetupWizard
|
|||
)
|
||||
);
|
||||
|
||||
// TODO(6172): Remove this requirement once we do not ship dompdf with Icinga Web 2 anymore
|
||||
$requirements->addOptional(
|
||||
t('PHP Module: DOM'),
|
||||
t('To be able to export views and reports to PDF, the DOM module for PHP is required.'),
|
||||
Platform::extensionLoaded('dom'),
|
||||
Platform::extensionLoaded('dom') ? t('The PHP module DOM is available') : (
|
||||
t('The PHP module DOM is missing')
|
||||
)
|
||||
);
|
||||
|
||||
$requirements->addOptional(
|
||||
t('PHP Module: GD'),
|
||||
t(
|
||||
|
|
Loading…
Reference in New Issue