From 454a1d2b88ee38faade0b3a148f2676c0bdc1226 Mon Sep 17 00:00:00 2001 From: westi Date: Sun, 12 Oct 2008 17:40:20 +0000 Subject: [PATCH] phpdoc fixes for setup-config.php. See #7550 props jacobsantos. git-svn-id: http://svn.automattic.com/wordpress/trunk@9126 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/setup-config.php | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/wp-admin/setup-config.php b/wp-admin/setup-config.php index 6d1590456..bcebf765b 100644 --- a/wp-admin/setup-config.php +++ b/wp-admin/setup-config.php @@ -15,10 +15,16 @@ * @package WordPress */ define('WP_INSTALLING', true); -//These three defines are required to allow us to use require_wp_db() to load the database class while being wp-content/db.php aware + +/**#@+ + * These three defines are required to allow us to use require_wp_db() to load + * the database class while being wp-content/db.php aware. + * @ignore + */ define('ABSPATH', dirname(dirname(__FILE__)).'/'); define('WPINC', 'wp-includes'); define('WP_CONTENT_DIR', ABSPATH . 'wp-content'); +/**#@-*/ require_once('../wp-includes/compat.php'); require_once('../wp-includes/functions.php'); @@ -135,10 +141,14 @@ switch($step) { if (empty($prefix)) $prefix = 'wp_'; // Test the db connection. + /**#@+ + * @ignore + */ define('DB_NAME', $dbname); define('DB_USER', $uname); define('DB_PASSWORD', $passwrd); define('DB_HOST', $dbhost); + /**#@-*/ // We'll fail here if the values are no good. require_wp_db();