Revision 1802
Added by Dietmar about 12 years ago
index.php | ||
---|---|---|
239 | 239 |
{ |
240 | 240 |
$configFile = '/config.php.new'; |
241 | 241 |
$installFlag = false; |
242 |
$config = '<font class="bad">Please rename</font>'; |
|
242 |
$config = '<font class="bad">Please rename to config.php</font>';
|
|
243 | 243 |
} else |
244 | 244 |
{ |
245 | 245 |
$installFlag = false; |
... | ... | |
249 | 249 |
?> |
250 | 250 |
<tr> |
251 | 251 |
<td colspan="2" style="color: #666666;"><?php print $wb_root.$configFile ?></td> |
252 |
<td><?php echo $config ?></td> |
|
252 |
<td colspan="2"><?php echo $config ?></td> |
|
253 |
</tr> |
|
254 |
<tr> |
|
253 | 255 |
<td colspan="2" style="color: #666666;"><?php print $wb_root ?>/pages/</td> |
254 | 256 |
<td><?php if(is_writable('../pages/')) { echo '<font class="good">Writeable</font>'; } elseif(!file_exists('../pages/')) {$installFlag = false; echo '<font class="bad">Directory Not Found</font>'; } else { echo '<font class="bad">Unwriteable</font>'; } ?></td> |
257 |
<td colspan="2" style="color: #666666;"><?php print $wb_root ?>/media/</td> |
|
258 |
<td><?php if(is_writable('../media/')) { echo '<font class="good">Writeable</font>'; } elseif(!file_exists('../media/')) {$installFlag = false; echo '<font class="bad">Directory Not Found</font>'; } else { echo '<font class="bad">Unwriteable</font>'; } ?></td> |
|
255 | 259 |
</tr> |
256 | 260 |
<tr> |
257 |
<td colspan="2" style="color: #666666;"><?php print $wb_root ?>/media/</td> |
|
258 |
<td><?php if(is_writable('../media/')) { echo '<font class="good">Writeable</font>'; } elseif(!file_exists('../media/')) {$installFlag = false; echo '<font class="bad">Directory Not Found</font>'; } else { echo '<font class="bad">Unwriteable</font>'; } ?></td> |
|
259 | 261 |
<td colspan="2" style="color: #666666;"><?php print $wb_root ?>/templates/</td> |
260 | 262 |
<td><?php if(is_writable('../templates/')) { echo '<font class="good">Writeable</font>'; } elseif(!file_exists('../templates/')) {$installFlag = false; echo '<font class="bad">Directory Not Found</font>'; } else { echo '<font class="bad">Unwriteable</font>'; } ?></td> |
263 |
<td colspan="2" style="color: #666666;"><?php print $wb_root ?>/modules/</td> |
|
264 |
<td><?php if(is_writable('../modules/')) { echo '<font class="good">Writeable</font>'; } elseif(!file_exists('../modules/')) {$installFlag = false; echo '<font class="bad">Directory Not Found</font>'; } else { echo '<font class="bad">Unwriteable</font>'; } ?></td> |
|
261 | 265 |
</tr> |
262 | 266 |
<tr> |
263 |
<td colspan="2" style="color: #666666;"><?php print $wb_root ?>/modules/</td> |
|
264 |
<td><?php if(is_writable('../modules/')) { echo '<font class="good">Writeable</font>'; } elseif(!file_exists('../modules/')) {$installFlag = false; echo '<font class="bad">Directory Not Found</font>'; } else { echo '<font class="bad">Unwriteable</font>'; } ?></td> |
|
265 | 267 |
<td colspan="2" style="color: #666666;"><?php print $wb_root ?>/languages/</td> |
266 | 268 |
<td><?php if(is_writable('../languages/')) { echo '<font class="good">Writeable</font>'; } elseif(!file_exists('../languages/')) {$installFlag = false; echo '<font class="bad">Directory Not Found</font>'; } else { echo '<font class="bad">Unwriteable</font>'; } ?></td> |
267 |
</tr> |
|
268 |
<tr> |
|
269 | 269 |
<td colspan="2" style="color: #666666;"><?php print $wb_root ?>/temp/</td> |
270 | 270 |
<td><?php if(is_writable('../temp/')) { echo '<font class="good">Writeable</font>'; } elseif(!file_exists('../temp/')) {$installFlag = false; echo '<font class="bad">Directory Not Found</font>'; } else { echo '<font class="bad">Unwriteable</font>'; } ?></td> |
271 |
<td colspan="2"> </td> |
|
272 |
<td> </td> |
|
273 | 271 |
</tr> |
274 | 272 |
</table> |
275 | 273 |
<table summary="" cellpadding="3" cellspacing="0" > |
Also available in: Unified diff
! change installation info "Please rename to config.php"