parent
4dda451c79
commit
32f87284ad
|
@ -362,7 +362,7 @@ class Platform
|
|||
*/
|
||||
public static function hasMysqlSupport()
|
||||
{
|
||||
return static::extensionLoaded('mysql') && static::classExists('Zend_Db_Adapter_Pdo_Mysql');
|
||||
return static::extensionLoaded('pdo_mysql') && static::classExists('Zend_Db_Adapter_Pdo_Mysql');
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -398,6 +398,6 @@ class Platform
|
|||
*/
|
||||
public static function hasPostgresqlSupport()
|
||||
{
|
||||
return static::extensionLoaded('pgsql') && static::classExists('Zend_Db_Adapter_Pdo_Pgsql');
|
||||
return static::extensionLoaded('pdo_pgsql') && static::classExists('Zend_Db_Adapter_Pdo_Pgsql');
|
||||
}
|
||||
}
|
||||
|
|
|
@ -176,7 +176,7 @@ class MonitoringWizard extends Wizard implements SetupWizard
|
|||
$mysqlSet = new RequirementSet(true);
|
||||
$mysqlSet->add(new PhpModuleRequirement(array(
|
||||
'optional' => true,
|
||||
'condition' => 'mysql',
|
||||
'condition' => 'pdo_mysql',
|
||||
'alias' => 'PDO-MySQL',
|
||||
'description' => mt(
|
||||
'monitoring',
|
||||
|
@ -196,7 +196,7 @@ class MonitoringWizard extends Wizard implements SetupWizard
|
|||
$pgsqlSet = new RequirementSet(true);
|
||||
$pgsqlSet->add(new PhpModuleRequirement(array(
|
||||
'optional' => true,
|
||||
'condition' => 'pgsql',
|
||||
'condition' => 'pdo_pgsql',
|
||||
'alias' => 'PDO-PostgreSQL',
|
||||
'description' => mt(
|
||||
'monitoring',
|
||||
|
|
|
@ -640,7 +640,7 @@ class WebWizard extends Wizard implements SetupWizard
|
|||
$mysqlSet = new RequirementSet(true);
|
||||
$mysqlSet->add(new PhpModuleRequirement(array(
|
||||
'optional' => true,
|
||||
'condition' => 'mysql',
|
||||
'condition' => 'pdo_mysql',
|
||||
'alias' => 'PDO-MySQL',
|
||||
'description' => mt(
|
||||
'setup',
|
||||
|
@ -661,7 +661,7 @@ class WebWizard extends Wizard implements SetupWizard
|
|||
$pgsqlSet = new RequirementSet(true);
|
||||
$pgsqlSet->add(new PhpModuleRequirement(array(
|
||||
'optional' => true,
|
||||
'condition' => 'pgsql',
|
||||
'condition' => 'pdo_pgsql',
|
||||
'alias' => 'PDO-PostgreSQL',
|
||||
'description' => mt(
|
||||
'setup',
|
||||
|
|
Loading…
Reference in New Issue