Removed global $siteurl and $blogfilename, use get_settings. Syntax fix for wp-db.

git-svn-id: http://svn.automattic.com/wordpress/trunk@945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt
2004-02-26 16:15:48 +00:00
parent 59da7f3f13
commit 8927968849
27 changed files with 131 additions and 131 deletions

View File

@@ -47,7 +47,7 @@
// ==================================================================
// Select a DB (if another one needs to be selected)
function select($db)x{
function select($db) {
if ( !@mysql_select_db($db,$this->dbh)) {
die("
<p>We're having a little trouble selecting the proper database for WordPress.</p>
@@ -237,7 +237,7 @@
}
// If the output is an object then return object using the row offset..
if ( $output == OBJECT ) b{
if ( $output == OBJECT ) {
return $this->last_result[$y]?$this->last_result[$y]:null;
}
// If the output is an associative array then return row as such..