diff options
| author | Savetheinternet <savetheinternet@tinyboard.org> | 2011-05-25 20:14:40 +1000 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@tinyboard.org> | 2011-05-25 20:14:40 +1000 |
| commit | 4e49d08359d5cb82c03c0b1eeb2219981e9f140c (patch) | |
| tree | 1f95d2ca2567baeb9360900987618bf75fe728be | |
| parent | 7efdb44ed1cf735ec491240526d1c635e1a53fb5 (diff) | |
bump version to 0.9.2
| -rw-r--r-- | install.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/install.php b/install.php index 74482a08..0d159c3d 100644 --- a/install.php +++ b/install.php @@ -402,7 +402,7 @@ $page['body'] .= '<div class="ban"><h2>SQL errors</h2><p>SQL errors were encountered when trying to install the database. This may be the result of using a database which is already occupied with a Tinyboard installation; if so, you can probably ignore this.</p><p>The errors encountered were:</p><ul>' . $sql_errors . '</ul><p><a href="?step=5">Ignore errors and complete installation.</a></p></div>'; } else { file_write($config['has_installed'], VERSION); - if(!@unlink(__FILE__)) { + if(!file_unlink(__FILE__)) { $page['body'] .= '<div class="ban"><h2>Delete install.php!</h2><p>I couldn\'t remove <strong>install.php</strong>. You will have to remove it manually.</p></div>'; } } @@ -413,7 +413,7 @@ $page['body'] = '<p style="text-align:center">Thank you for using Tinyboard. Please remember to report any bugs you discover.</p>'; file_write($config['has_installed'], VERSION); - if(!@unlink(__FILE__)) { + if(!file_unlink(__FILE__)) { $page['body'] .= '<div class="ban"><h2>Delete install.php!</h2><p>I couldn\'t remove <strong>install.php</strong>. You will have to remove it manually.</p></div>'; } |
