equal
deleted
inserted
replaced
125 return false; |
125 return false; |
126 |
126 |
127 $wkt = $db->escape($wkt); |
127 $wkt = $db->escape($wkt); |
128 |
128 |
129 $vars = array( |
129 $vars = array( |
130 'TABLE_PREFIX' => $_POST['table_prefix'], |
130 'TABLE_PREFIX' => table_prefix, |
131 'SITE_NAME' => $db->escape($_POST['site_name']), |
131 'SITE_NAME' => $db->escape($_POST['site_name']), |
132 'SITE_DESC' => $db->escape($_POST['site_desc']), |
132 'SITE_DESC' => $db->escape($_POST['site_desc']), |
133 'COPYRIGHT' => $db->escape($_POST['copyright']), |
133 'COPYRIGHT' => $db->escape($_POST['copyright']), |
134 // FIXME: update form |
134 // FIXME: update form |
135 'WIKI_MODE' => ( isset($_POST['wiki_mode']) ? '1' : '0' ), |
135 'WIKI_MODE' => ( isset($_POST['wiki_mode']) ? '1' : '0' ), |