Index: trunk/phase3/includes/installer/WebInstaller.php |
— | — | @@ -207,7 +207,11 @@ |
208 | 208 | function startSession() { |
209 | 209 | $sessPath = $this->getSessionSavePath(); |
210 | 210 | if( $sessPath != '' ) { |
211 | | - if( !is_dir( $sessPath ) || !is_writeable( $sessPath ) ) { |
| 211 | + if( strval( ini_get( 'open_basedir' ) ) != '' ) { |
| 212 | + // we need to skip the following check when open_basedir is on. |
| 213 | + // The session path probably *wont* be writable by the current |
| 214 | + // user, and telling them to change it is bad. Bug 23021. |
| 215 | + } elseif( !is_dir( $sessPath ) || !is_writeable( $sessPath ) ) { |
212 | 216 | $this->showError( 'config-session-path-bad', $sessPath ); |
213 | 217 | return false; |
214 | 218 | } |