58 if ($this->bearsamppConfRaw !==
false) {
66 if (!is_dir($this->currentPath)) {
69 if (!is_dir($this->symlinkPath)) {
73 if (!is_file($this->bearsamppConf)) {
76 if (!is_file($this->conf)) {
97 Util::logDebug(($sub > 0 ? str_repeat(
' ', 2 * $sub) :
'') .
'Update ' . $this->name .
' ' .
$version .
' config');
100 if (is_file($alias)) {
102 '/^Alias\s\/phppgadmin\s.*/' =>
'Alias /phppgadmin "' . $this->
getSymlinkPath() .
'/"',
103 '/^<Directory\s.*/' =>
'<Directory "' . $this->
getSymlinkPath() .
'/">',
111 '/^\$postgresqlPort\s=\s(\d+)/' =>
'$postgresqlPort = ' .
$bearsamppBins->getPostgresql()->getPort() .
';',
112 '/^\$postgresqlRootUser\s=\s/' =>
'$postgresqlRootUser = \'' .
$bearsamppBins->getPostgresql()->getRootUser() .
'\';
',
113 '/^\$postgresqlRootPwd\s=\s/
' => '$postgresqlRootPwd = \
'' .
$bearsamppBins->getPostgresql()->getRootPwd() .
'\';
',
114 '/^\$postgresqlDumpExe\s=\s/
' => '$postgresqlDumpExe = \
'' .
$bearsamppBins->getPostgresql()->getDumpExe() .
'\';
',
115 '/^\$postgresqlDumpAllExe\s=\s/
' => '$postgresqlDumpAllExe = \
'' .
$bearsamppBins->getPostgresql()->getDumpAllExe() .
'\';
',