~jacob-roeland/ignition/trunk

« back to all changes in this revision

Viewing changes to i-options.php

  • Committer: Jacob Roeland
  • Date: 2009-08-06 19:59:16 UTC
  • Revision ID: jacroe@jacroe.com-20090806195916-7dpqatc5u5s1ou83
Added a theme and moved files over to data/ folder. Removed some large memory features and changed them to plugins

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
 
14
14
aheader();
15
15
if ($_POST['submit']) {
16
 
if ($FH = @fopen('settings.php', 'w')) {
 
16
if ($FH = @fopen('data/settings.php', 'w')) {
17
17
        @fwrite($FH, '<?php $pass = "'.$_POST['pass'].'";
18
18
$uri = "'.$_POST['uri'].'";
19
19
$suri = "'.$_POST['suri'].'";
34
34
echo('<strong>SUCCESS!!! Ignition was successfully updated.</strong>'); }
35
35
 
36
36
// Get the settings and show a form
37
 
require 'settings.php';
 
37
require 'data/settings.php';
38
38
echo('<form method="post" action="'. $_SERVER[PHP_SELF] . '">
39
39
<table>
40
40
<tr><td>Blog name:</td><td><input type="text" name="title" value="'.$blogtitle.'" /></td></tr>