From d48e85e0ac5e675ca33fac173f30c75403d1033f Mon Sep 17 00:00:00 2001 From: donncha Date: Thu, 22 Jun 2006 18:31:50 +0000 Subject: Moved everything in wp-inst down a directory. Uses's Ryan Boren's htaccess rules and mods If you're upgrading, try this on a test server first! git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@591 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-admin/admin.php | 120 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 wp-admin/admin.php (limited to 'wp-admin/admin.php') diff --git a/wp-admin/admin.php b/wp-admin/admin.php new file mode 100644 index 0000000..ffec08f --- /dev/null +++ b/wp-admin/admin.php @@ -0,0 +1,120 @@ +fetch( get_option( "siteurl" ) . "wp-admin/upgrade.php?step=1"); + } +} + + +require_once(ABSPATH . 'wp-admin/admin-functions.php'); +require_once(ABSPATH . 'wp-admin/admin-db.php'); +require_once(ABSPATH . WPINC . '/registration.php'); + +auth_redirect(); + +nocache_headers(); + +update_category_cache(); + +wp_get_current_user(); + +$posts_per_page = get_settings('posts_per_page'); +$what_to_show = get_settings('what_to_show'); +$date_format = get_settings('date_format'); +$time_format = get_settings('time_format'); + +$wpvarstoreset = array('profile','redirect','redirect_url','a','popuptitle','popupurl','text', 'trackback', 'pingback'); +for ($i=0; $i -- cgit