Changeset 11e670d in github
- Timestamp:
- Aug 27, 2009 9:38:26 AM (4 years ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
- Children:
- 16506fb
- Parents:
- 4f7aa85f
- Files:
-
- 3 edited
-
CHANGELOG (modified) (1 diff)
-
installer/check.php (modified) (5 diffs)
-
installer/rcube_install.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
CHANGELOG
r7e15422 r11e670d 2 2 =========================== 3 3 4 - Don't require date.timezone setting in installer (#1485989) 4 5 - Fix date sorting problem with Courier IMAP server (#1486065) 5 6 - Unselect pressed buttons on mouse up (#1485987) -
installer/check.php
r4007170 r11e670d 18 18 $ini_checks = array('file_uploads' => 1, 'session.auto_start' => 0, 19 19 'zend.ze1_compatibility_mode' => 0, 'mbstring.func_overload' => 0, 20 'suhosin.session.encrypt' => 0, 'date.timezone' => '-NOTEMPTY-'); 20 'suhosin.session.encrypt' => 0); 21 22 $optional_checks = array('date.timezone' => '-NOTEMPTY-'); 21 23 22 24 $source_urls = array( … … 69 71 ?> 70 72 71 <p class="hint">The next couple of extensions are <em>optional</em> butrecommended to get the best performance:</p>73 <p class="hint">The next couple of extensions are <em>optional</em> and recommended to get the best performance:</p> 72 74 <?php 73 75 … … 128 130 129 131 <h3>Checking php.ini/.htaccess settings</h3> 132 <p class="hint">The following settings are <em>required</em> to run RoundCube:</p> 130 133 131 134 <?php … … 137 140 $RCI->fail($var, "cannot be empty and needs to be set"); 138 141 } else { 139 switch ($var) {140 case 'date.timezone':141 if (date_default_timezone_set($status) === false) {142 $RCI->fail($var, "is '$status', but the settings is wrong");143 echo '<br />';144 continue;145 }146 break;147 }148 142 $RCI->pass($var); 149 143 } … … 155 149 } else { 156 150 $RCI->fail($var, "is '$status', should be '$val'"); 151 } 152 echo '<br />'; 153 } 154 ?> 155 156 <p class="hint">The following settings are <em>optional</em> and recommended:</p> 157 158 <?php 159 160 foreach ($optional_checks as $var => $val) { 161 $status = ini_get($var); 162 if ($val === '-NOTEMPTY-') { 163 if (empty($status)) { 164 $RCI->optfail($var, "Could be set"); 165 } else { 166 $RCI->pass($var); 167 } 168 echo '<br />'; 169 continue; 170 } 171 if ($status == $val) { 172 $RCI->pass($var); 173 } else { 174 $RCI->optfail($var, "is '$status', could be '$val'"); 157 175 } 158 176 echo '<br />'; -
installer/rcube_install.php
r2c3d81d r11e670d 468 468 $this->_showhint($message, $url); 469 469 } 470 471 472 /** 473 * Display an error status for optional settings/features 474 * 475 * @param string Test name 476 * @param string Error message 477 * @param string URL for details 478 */ 479 function optfail($name, $message = '', $url = '') 480 { 481 echo Q($name) . ': <span class="na">NOT OK</span>'; 482 $this->_showhint($message, $url); 483 } 470 484 471 485
Note: See TracChangeset
for help on using the changeset viewer.
