Index: branches/new-installer/phase3/includes/installer/WebInstaller.php |
— | — | @@ -205,9 +205,14 @@ |
206 | 206 | */ |
207 | 207 | function startSession() { |
208 | 208 | $sessPath = $this->getSessionSavePath(); |
209 | | - if( !is_dir( $sessPath ) || !is_writeable( $sessPath ) ) { |
210 | | - $this->showError( 'config-session-path-bad', $sessPath ); |
211 | | - return false; |
| 209 | + if( $sessPath != '' ) { |
| 210 | + if( !is_dir( $sessPath ) || !is_writeable( $sessPath ) ) { |
| 211 | + $this->showError( 'config-session-path-bad', $sessPath ); |
| 212 | + return false; |
| 213 | + } |
| 214 | + } else { |
| 215 | + // If the path is unset it'll default to some system bit, which *probably* is ok... |
| 216 | + // not sure how to actually get what will be used. |
212 | 217 | } |
213 | 218 | if( wfIniGetBool( 'session.auto_start' ) || session_id() ) { |
214 | 219 | // Done already |