mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-25 23:04:51 +02:00
parent
6be51d1565
commit
4595b51318
@ -5,7 +5,6 @@
|
|||||||
namespace Icinga\Module\Setup;
|
namespace Icinga\Module\Setup;
|
||||||
|
|
||||||
use PDOException;
|
use PDOException;
|
||||||
use Zend_Version;
|
|
||||||
use Icinga\Web\Form;
|
use Icinga\Web\Form;
|
||||||
use Icinga\Web\Wizard;
|
use Icinga\Web\Wizard;
|
||||||
use Icinga\Web\Request;
|
use Icinga\Web\Request;
|
||||||
@ -384,20 +383,6 @@ class WebWizard extends Wizard implements SetupWizard
|
|||||||
sprintf(mt('setup', 'You are running PHP version %s.'), $phpVersion)
|
sprintf(mt('setup', 'You are running PHP version %s.'), $phpVersion)
|
||||||
);
|
);
|
||||||
|
|
||||||
// The only reason for requiring 1.12.2 is a bug in Zend_Form_Decorator_ViewHelper in older versions causing a
|
|
||||||
// Zend_Form_Element_Button's value not being rendered. Feel free to adjust this in case we require an earlier
|
|
||||||
// version!
|
|
||||||
$zendVersion = Zend_Version::VERSION;
|
|
||||||
$requirements->addMandatory(
|
|
||||||
mt('setup', 'Zend Framework 1'),
|
|
||||||
mt(
|
|
||||||
'setup',
|
|
||||||
'Icinga Web 2 requires at least Zend Framework 1.12.2 to work properly.'
|
|
||||||
),
|
|
||||||
Zend_Version::compareVersion('1.12.2') !== 1,
|
|
||||||
sprintf(mt('setup', 'You have got Zend Framwork %s installed.'), $zendVersion)
|
|
||||||
);
|
|
||||||
|
|
||||||
$defaultTimezone = Platform::getPhpConfig('date.timezone');
|
$defaultTimezone = Platform::getPhpConfig('date.timezone');
|
||||||
$requirements->addMandatory(
|
$requirements->addMandatory(
|
||||||
mt('setup', 'Default Timezone'),
|
mt('setup', 'Default Timezone'),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user