Changeset 1810 for trunk/wp-admin/admin-header.php
- Timestamp:
- 10/18/2004 04:50:08 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-header.php
r1743 r1810 1 1 <?php 2 2 3 require_once('../wp-config.php'); 3 if (strstr($_SERVER['PHP_SELF'], 'plugins/')) { 4 $wp_admin_path = '../../wp-admin/'; 5 $wp_path = '../../'; 6 } else { 7 $wp_admin_path = './'; 8 $wp_path = '../'; 9 } 10 11 require_once($wp_path . 'wp-config.php'); 12 4 13 require_once(ABSPATH . '/wp-admin/auth.php'); 5 14 require(ABSPATH . '/wp-admin/admin-functions.php'); … … 39 48 <head> 40 49 <title><?php bloginfo('name') ?> › <?php echo $title; ?> — WordPress</title> 41 <link rel="stylesheet" href=" wp-admin.css" type="text/css" />42 <link rel="shortcut icon" href=" ../wp-images/wp-favicon.png" />50 <link rel="stylesheet" href="<?php echo $wp_admin_path; ?>wp-admin.css" type="text/css" /> 51 <link rel="shortcut icon" href="<?php echo $wp_path; ?>wp-images/wp-favicon.png" /> 43 52 <meta http-equiv="Content-Type" content="text/html; charset=<?php echo get_settings('blog_charset'); ?>" /> 44 53 … … 111 120 112 121 <?php 113 require( './menu.php');122 require(ABSPATH . '/wp-admin/menu.php'); 114 123 endif; 115 124 ?>
Note: See TracChangeset
for help on using the changeset viewer.