Index: branches/new-installer/phase3/includes/installer/SqliteInstaller.php |
— | — | @@ -33,13 +33,15 @@ |
34 | 34 | } |
35 | 35 | |
36 | 36 | function getConnectForm() { |
37 | | - return |
38 | | - $this->getTextBox( 'wgSQLiteDataDir', 'config-sqlite-dir' ) . |
| 37 | + $s = $this->getTextBox( 'wgSQLiteDataDir', 'config-sqlite-dir' ) . |
39 | 38 | $this->parent->getHelpBox( 'config-sqlite-dir-help' ) . |
40 | 39 | $this->getTextBox( 'wgDBname', 'config-db-name' ) . |
41 | | - $this->parent->getHelpBox( 'config-sqlite-name-help' ) . |
42 | | - $this->getTextBox( 'wgSQLiteDataDirMode', 'config-sqlite-permissions' ) . |
43 | | - $this->parent->getHelpBox( 'config-sqlite-permissions-help' ); |
| 40 | + $this->parent->getHelpBox( 'config-sqlite-name-help' ); |
| 41 | + if ( !wfIsWindows() ) { |
| 42 | + $s .= $this->getTextBox( 'wgSQLiteDataDirMode', 'config-sqlite-permissions' ) . |
| 43 | + $this->parent->getHelpBox( 'config-sqlite-permissions-help' ); |
| 44 | + } |
| 45 | + return $s; |
44 | 46 | } |
45 | 47 | |
46 | 48 | function submitConnectForm() { |