mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-24 15:48:55 +01:00
using correct defaults eg. "template1" for postgres
This commit is contained in:
parent
b5d9515e63
commit
0e8cc03032
@ -57,10 +57,8 @@ before_script:
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
- phpenv config-rm xdebug.ini
|
- phpenv config-rm xdebug.ini
|
||||||
- php -m
|
#- php -m
|
||||||
- php -r 'var_dump(extension_loaded("pgsql"));'
|
- curl https://svn.stylite.de/fix_mrconfig 2>/dev/null | php
|
||||||
- php -r 'var_dump(get_loaded_extensions());'
|
|
||||||
#- composer update --prefer-source $LOWEST_DEPS
|
|
||||||
- mr --trust-all --stats up
|
- mr --trust-all --stats up
|
||||||
- (cd activesync; mr --trust-all --stats up)
|
- (cd activesync; mr --trust-all --stats up)
|
||||||
# installing phpunit in version suitable for used PHP version
|
# installing phpunit in version suitable for used PHP version
|
||||||
|
@ -58,7 +58,7 @@ class setup_cmd_database extends setup_cmd
|
|||||||
{
|
{
|
||||||
if (!is_array($domain))
|
if (!is_array($domain))
|
||||||
{
|
{
|
||||||
$domain = array(
|
$data = array(
|
||||||
'domain' => $domain,
|
'domain' => $domain,
|
||||||
'db_type' => $db_type,
|
'db_type' => $db_type,
|
||||||
'db_host' => $db_host,
|
'db_host' => $db_host,
|
||||||
@ -73,8 +73,12 @@ class setup_cmd_database extends setup_cmd
|
|||||||
'make_db_name_unique' => $make_db_name_unique,
|
'make_db_name_unique' => $make_db_name_unique,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
//error_log(__METHOD__.'('.array2string($domain).") make_db_name_unique=".array2string($domain['make_db_name_unique']));
|
else
|
||||||
admin_cmd::__construct($domain);
|
{
|
||||||
|
$data = $domain;
|
||||||
|
}
|
||||||
|
// need to incorporate correct defaults for given database type
|
||||||
|
admin_cmd::__construct(array_merge(self::defaults($data['db_type']), array_diff($data, array(null))));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user