Changeset 0c3bde2 in github
- Timestamp:
- Sep 5, 2008 6:19:01 AM (5 years ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
- Children:
- 8beee1b
- Parents:
- be5f03b
- File:
-
- 1 edited
-
installer/rcube_install.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
installer/rcube_install.php
rb77d0dd r0c3bde2 123 123 if (!$out) 124 124 return '[Warning: could not read the template file]'; 125 125 126 126 foreach ($this->config as $prop => $default) { 127 127 $value = (isset($_POST["_$prop"]) || $this->config_props[$prop]) ? $_POST["_$prop"] : $default; … … 135 135 $value = $val; 136 136 } 137 else if ($ prop == 'db_dsnw' && !empty($_POST['_dbtype'])) {137 else if ($which == 'db' && $prop == 'db_dsnw' && !empty($_POST['_dbtype'])) { 138 138 if ($_POST['_dbtype'] == 'sqlite') 139 139 $value = sprintf('%s://%s?mode=0646', $_POST['_dbtype'], $_POST['_dbname']{0} == '/' ? '/' . $_POST['_dbname'] : $_POST['_dbname']); … … 180 180 $out); 181 181 } 182 182 183 183 return trim($out); 184 184 }
Note: See TracChangeset
for help on using the changeset viewer.
