[wp-cvs] wordpress/wp-admin install.php, 1.31, 1.32 upgrade.php,
1.10, 1.11
Jason Verber
jverber at users.sourceforge.net
Fri Jun 11 11:09:20 CDT 2004
Update of /cvsroot/cafelog/wordpress/wp-admin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10638/wp-admin
Modified Files:
install.php upgrade.php
Log Message:
Added missing head tags to install.php and upgrade.php
Index: install.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-admin/install.php,v
retrieving revision 1.31
retrieving revision 1.32
diff -C2 -d -r1.31 -r1.32
*** install.php 26 May 2004 14:30:53 -0000 1.31
--- install.php 11 Jun 2004 16:09:13 -0000 1.32
***************
*** 1,763 ****
! <?php
! $_wp_installing = 1;
! if (!file_exists('../wp-config.php'))
! die("There doesn't seem to be a <code>wp-config.php</code> file. I need this before we can get started. Need more help? <a href='http://wordpress.org/docs/faq/#wp-config'>We got it</a>. You can <a href='wp-admin/setup-config.php'>create a <code>wp-config.php</code> file through a web interface</a>, but this doesn't work for all server setups. The safest way is to manually create the file.");
! require_once('../wp-config.php');
! require('upgrade-functions.php');
!
! if (isset($_GET['step']))
! $step = $_GET['step'];
! else
[...1500 lines suppressed...]
! // Do final updates
! upgrade_all();
! ?>
!
! <p>User setup successful!</p>
!
! <p>Now you can <a href="../wp-login.php">log in</a> with the <strong>login</strong>
! "<code>admin</code>" and <strong>password</strong> "<code><?php echo $random_password; ?></code>".</p>
! <p><strong><em>Note that password</em></strong> carefully! It is a <em>random</em>
! password that was generated just for you. If you lose it, you
! will have to delete the tables from the database yourself, and re-install WordPress.
! </p>
! <p>Were you expecting more steps? Sorry to disappoint. All done!</p>
! <?php
! break;
! }
! ?>
! </body>
</html>
\ No newline at end of file
Index: upgrade.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-admin/upgrade.php,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** upgrade.php 5 May 2004 08:00:13 -0000 1.10
--- upgrade.php 11 Jun 2004 16:09:18 -0000 1.11
***************
*** 1,72 ****
! <?php
! $_wp_installing = 1;
! if (!file_exists('../wp-config.php')) die("There doesn't seem to be a wp-config.php file. Double check that you updated wp-config-sample.php with the proper database connection information and renamed it to wp-config.php.");
! require('../wp-config.php');
! timer_start();
! require('upgrade-functions.php');
!
! $step = $_GET['step'];
! if (!$step) $step = 0;
! ?>
! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
! <html xmlns="http://www.w3.org/1999/xhtml">
! <title>WordPress › Upgrade WordPress</title>
! <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
! <style media="screen" type="text/css">
! body {
! background-color: white;
! color: black;
! font-family: Georgia, "Times New Roman", Times, serif;
! margin-left: 15%;
! margin-right: 15%;
! }
! #logo {
! margin: 0;
! padding: 0;
! background-image: url(http://wordpress.org/images/logo.png);
! background-repeat: no-repeat;
! height: 60px;
! border-bottom: 4px solid #333;
! }
! #logo a {
! display: block;
! text-decoration: none;
! text-indent: -100em;
! height: 60px;
! }
! p {
! line-height: 140%;
! }
! </style>
! </head><body>
! <h1 id="logo"><a href="http://wordpress.org">WordPress</a></h1>
! <?php
! switch($step) {
!
! case 0:
! ?>
! <p>This file upgrades you from any previous version of WordPress to the latest. It may take a while though, so be patient. </p>
! <p>If you’re all ready, <a href="upgrade.php?step=1">let's go</a>! </p>
! <?php
! break;
!
! case 1:
! upgrade_all();
! ?>
! <h2>Step 1</h2>
! <p>There's actually only one step. So if you see this, you're done. <a href="../">Have fun</a>! </p>
!
! <!--
! <pre>
! <?php echo $wpdb->num_queries; ?> queries
!
! <?php timer_stop(1); ?> seconds
! </pre>
! -->
!
! <?php
! break;
! }
! ?>
! </body>
! </html>
--- 1,73 ----
! <?php
! $_wp_installing = 1;
! if (!file_exists('../wp-config.php')) die("There doesn't seem to be a wp-config.php file. Double check that you updated wp-config-sample.php with the proper database connection information and renamed it to wp-config.php.");
! require('../wp-config.php');
! timer_start();
! require('upgrade-functions.php');
!
! $step = $_GET['step'];
! if (!$step) $step = 0;
! ?>
! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
! <html xmlns="http://www.w3.org/1999/xhtml">
! <head>
! <title>WordPress › Upgrade WordPress</title>
! <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
! <style media="screen" type="text/css">
! body {
! background-color: white;
! color: black;
! font-family: Georgia, "Times New Roman", Times, serif;
! margin-left: 15%;
! margin-right: 15%;
! }
! #logo {
! margin: 0;
! padding: 0;
! background-image: url(http://wordpress.org/images/logo.png);
! background-repeat: no-repeat;
! height: 60px;
! border-bottom: 4px solid #333;
! }
! #logo a {
! display: block;
! text-decoration: none;
! text-indent: -100em;
! height: 60px;
! }
! p {
! line-height: 140%;
! }
! </style>
! </head><body>
! <h1 id="logo"><a href="http://wordpress.org">WordPress</a></h1>
! <?php
! switch($step) {
!
! case 0:
! ?>
! <p>This file upgrades you from any previous version of WordPress to the latest. It may take a while though, so be patient. </p>
! <p>If you’re all ready, <a href="upgrade.php?step=1">let's go</a>! </p>
! <?php
! break;
!
! case 1:
! upgrade_all();
! ?>
! <h2>Step 1</h2>
! <p>There's actually only one step. So if you see this, you're done. <a href="../">Have fun</a>! </p>
!
! <!--
! <pre>
! <?php echo $wpdb->num_queries; ?> queries
!
! <?php timer_stop(1); ?> seconds
! </pre>
! -->
!
! <?php
! break;
! }
! ?>
! </body>
! </html>
More information about the cvs
mailing list