summaryrefslogtreecommitdiff
path: root/install.php
diff options
context:
space:
mode:
authorMichael Save <savetheinternet@tinyboard.org>2012-08-27 21:50:15 +1000
committerMichael Save <savetheinternet@tinyboard.org>2012-08-27 21:50:15 +1000
commit913010cff5d09311ca6c8bc7a139d5deee82ba38 (patch)
treecbd95c15bde1c684d4e6a960e41a934c77764f31 /install.php
parenteb146d92015e3bfe7b2fad68dd4b8c29542a31b3 (diff)
minor consistency cleanup
Diffstat (limited to 'install.php')
-rw-r--r--install.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/install.php b/install.php
index d580e97d..7d27940b 100644
--- a/install.php
+++ b/install.php
@@ -6,7 +6,7 @@ define('VERSION', 'v0.9.6-dev-6');
require 'inc/functions.php';
$step = isset($_GET['step']) ? round($_GET['step']) : 0;
-$page = Array(
+$page = array(
'config' => $config,
'title' => 'Install',
'body' => '',
@@ -92,7 +92,7 @@ if (file_exists($config['has_installed'])) {
}
case 'v0.9.3-dev-6':
// change to MyISAM
- $tables = Array(
+ $tables = array(
'bans', 'boards', 'ip_notes', 'modlogs', 'mods', 'mutes', 'noticeboard', 'pms', 'reports', 'robot', 'theme_settings', 'news'
);
foreach ($boards as &$board) {
@@ -527,7 +527,7 @@ if ($step == 0) {
preg_match_all("/(^|\n)((SET|CREATE|INSERT).+)\n\n/msU", $sql, $queries);
$queries = $queries[2];
- $queries[] = Element('posts.sql', Array('board' => 'b'));
+ $queries[] = Element('posts.sql', array('board' => 'b'));
$sql_errors = '';
foreach ($queries as &$query) {