Skip to content
This repository was archived by the owner on Sep 10, 2021. It is now read-only.

Commit 858b434

Browse files
author
Jamie Snape
committed
Do not mark module as incompatible if there are no database specific files
1 parent 4dd8e30 commit 858b434

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/controllers/components/UtilityComponent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ private function _initModulesConfig($dir)
126126
) {
127127
$config = new Zend_Config_Ini($dir.$file.'/configs/module.ini', 'global', true);
128128
$config->db = array();
129-
if (!file_exists($dir.$file.'/database')) {
129+
if (!file_exists($dir.$file.'/database') || (!file_exists($dir.$file.'/database/mysql') && !file_exists($dir.$file.'/database/pgsql') && !file_exists($dir.$file.'/database/sqlite'))) {
130130
$config->db->PDO_MYSQL = true;
131131
$config->db->PDO_PGSQL = true;
132132
$config->db->PDO_SQLITE = true;

0 commit comments

Comments
 (0)