diff --git a/install.php b/install.php index 74482a08..0d159c3d 100644 --- a/install.php +++ b/install.php @@ -402,7 +402,7 @@ $page['body'] .= '

SQL errors

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.

The errors encountered were:

Ignore errors and complete installation.

'; } else { file_write($config['has_installed'], VERSION); - if(!@unlink(__FILE__)) { + if(!file_unlink(__FILE__)) { $page['body'] .= '

Delete install.php!

I couldn\'t remove install.php. You will have to remove it manually.

'; } } @@ -413,7 +413,7 @@ $page['body'] = '

Thank you for using Tinyboard. Please remember to report any bugs you discover.

'; file_write($config['has_installed'], VERSION); - if(!@unlink(__FILE__)) { + if(!file_unlink(__FILE__)) { $page['body'] .= '

Delete install.php!

I couldn\'t remove install.php. You will have to remove it manually.

'; }