From 54a03e22abd5e91e643f9bf50d46669605c2373e Mon Sep 17 00:00:00 2001 From: Ryan Boren 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: https://develop.svn.wordpress.org/trunk@4502 602fd350-edb4-49c9-b593-d223f7449a82 --- 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