2009-08-03 04:10:16 +00:00
|
|
|
<b>Step 2:</b> Writing new configuration settings...
|
2008-11-26 22:50:40 +00:00
|
|
|
|
|
|
|
<?php if($files === true) { ?>
|
2009-08-03 04:10:16 +00:00
|
|
|
Done!<br/><br/>
|
|
|
|
|
|
|
|
<form method="post" action="">
|
|
|
|
<?php
|
|
|
|
foreach (array('core','base') as $type) {
|
|
|
|
if (isset($modules[$type]) && is_array($modules[$type])) {
|
|
|
|
ksort($modules[$type]);
|
|
|
|
|
|
|
|
printf('<b>NOTE: The following %s modules will be installed</b>',strtoupper($type));;
|
|
|
|
echo '<table width="100%" cellspacing="3" cellpadding="4">';
|
|
|
|
foreach ($modules[$type] as $module => $details) { ?>
|
|
|
|
<tr valign="top" bgcolor="#F3F3F3">
|
|
|
|
<td width="20%" height="25" bgcolor="#F8F8F8">
|
|
|
|
<input type="checkbox" name="modules[]" value="<?php echo $details['name']; ?>" checked="checked" disabled="disabled"/>
|
|
|
|
<?php printf('<b>%s</b>:',$details['name']); ?>
|
|
|
|
</td>
|
|
|
|
<td width="80%" height="25" bgcolor="#F8F8F8">
|
|
|
|
<?php echo $details['notes']; ?>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<?php } ?>
|
|
|
|
</table>
|
|
|
|
<br/>
|
|
|
|
<?php } ?>
|
|
|
|
<?php } ?>
|
|
|
|
|
|
|
|
<?php if (isset($modules['plugin']) && is_array($modules['plugin'])) { ?>
|
|
|
|
<?php ksort($modules['plugin']); ?>
|
|
|
|
<b>Please select any OPTIONAL modules you wish to install</b>
|
|
|
|
<table width="100%" cellspacing="3" cellpadding="4">
|
|
|
|
<?php foreach ($modules['plugin'] as $module => $details) { ?>
|
|
|
|
<tr valign="top" bgcolor="#F3F3F3">
|
|
|
|
<td width="2%" height="25" bgcolor="#F8F8F8" colspan=2>
|
|
|
|
<input type="checkbox" name="modules[]" value="<?php echo $details['name']; ?>"/>
|
|
|
|
</td>
|
|
|
|
<td width="98%" height="25" bgcolor="#F8F8F8">
|
|
|
|
<?php printf('<b>%s</b>: %s',$details['name'],$details['notes']); ?>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<?php } ?>
|
|
|
|
</table>
|
2008-11-26 22:50:40 +00:00
|
|
|
<?php } ?>
|
2009-08-03 04:10:16 +00:00
|
|
|
|
|
|
|
<?php if (! empty($license_agreement)) { ?>
|
|
|
|
<input type="submit" name="Submit" value="I Agree, Continue to Step 3"/>
|
2008-11-26 22:50:40 +00:00
|
|
|
<?php } else { ?>
|
2009-08-03 04:10:16 +00:00
|
|
|
<input type="submit" name="Submit" value="Step 3"/>
|
2008-11-26 22:50:40 +00:00
|
|
|
<?php } ?>
|
2009-08-03 04:10:16 +00:00
|
|
|
<input type="hidden" name="do" value="step3"/>
|
2008-11-26 22:50:40 +00:00
|
|
|
</form>
|
|
|
|
|
2009-08-03 04:10:16 +00:00
|
|
|
<?php echo '<PRE>';print_r($modules); ?>
|
2008-11-26 22:50:40 +00:00
|
|
|
<?php } else { ?>
|
2009-08-03 04:10:16 +00:00
|
|
|
<b>failed!</b>
|
2008-11-26 22:50:40 +00:00
|
|
|
<?php echo $database; ?>
|
2009-08-03 04:10:16 +00:00
|
|
|
<br/>
|
|
|
|
<br/>
|
|
|
|
<b>To Resolve This Issue:</b><br/>
|
|
|
|
Please access the files/directories listed above and change their permissions
|
|
|
|
to be writable. Then refresh this page in your browser.<br/>
|
|
|
|
<br/>
|
|
|
|
On Linux based systems, you can use an FTP program to change the CHMOD settings
|
|
|
|
to '777', or you can use the <i>chmod</i> command from the command line.<br/>
|
|
|
|
<br/>
|
|
|
|
On Windows based systems, you should check that the file/directory is not set
|
|
|
|
to "Read-only," and the web user has full access to the files.<br/>
|
|
|
|
<br/>
|
|
|
|
<?php } ?>
|