Attack of the Background-Color Police. Also, let step 3 of install.php accept the url param via GET. This will enable batch installation of WP via scripts, if someone wants to be clever.

git-svn-id: http://svn.automattic.com/wordpress/trunk@1068 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
emc3 2004-04-14 17:10:12 +00:00
parent e5248743f9
commit 3fad967900
2 changed files with 3 additions and 1 deletions

View File

@ -14,6 +14,7 @@ if (!$step) $step = 0;
<style media="screen" type="text/css">
<!--
body {
background-color: white;
font-family: Georgia, "Times New Roman", Times, serif;
margin-left: 15%;
margin-right: 15%;
@ -707,7 +708,7 @@ $guessurl = str_replace('/wp-admin/install.php?step=2', '', 'http://' . $HTTP_HO
<?php
$url = $_POST['url'];
$url = $_REQUEST['url'];
if (isset($url)) {
$query= "UPDATE $tableoptions set option_value='$url' where option_id=1"; //siteurl
$q = $wpdb->query($query);

View File

@ -13,6 +13,7 @@ if (!$step) $step = 0;
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style media="screen" type="text/css">
body {
background-color: white;
font-family: Georgia, "Times New Roman", Times, serif;
margin-left: 15%;
margin-right: 15%;