From 761d46a887331381374372023c46aff61676b6db Mon Sep 17 00:00:00 2001 From: ryan Date: Mon, 20 Nov 2006 04:07:34 +0000 Subject: [PATCH] Fix logo link and use install.css in wpdb bail. Props Sewar. fixes #3209 git-svn-id: http://svn.automattic.com/wordpress/trunk@4502 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/wp-db.php | 46 ++++++++----------------------------------- 1 file changed, 8 insertions(+), 38 deletions(-) diff --git a/wp-includes/wp-db.php b/wp-includes/wp-db.php index 45792b5bd0..d1303b12a0 100644 --- a/wp-includes/wp-db.php +++ b/wp-includes/wp-db.php @@ -312,52 +312,22 @@ class wpdb { return false; header('Content-Type: text/html; charset=utf-8'); + + if ( strstr($_SERVER['PHP_SELF'], 'wp-admin') ) + $admin_dir = ''; + else + $admin_dir = 'wp-admin/'; + ?> WordPress › Error - + -

WordPress

+

WordPress