Make WordPress Core

Changeset 2592


Ignore:
Timestamp:
05/09/2005 11:06:45 AM (19 years ago)
Author:
matt
Message:

Better config include in admin - http://mosquito.wordpress.org/view.php?id=1307

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin.php

    r2552 r2592  
    11<?php
    2 require_once('../wp-config.php');
     2if ( defined('ABSPATH') )
     3    require_once( ABSPATH . 'wp-config.php');
     4else
     5    require_once('../wp-config.php');
     6   
    37require_once(ABSPATH . 'wp-admin/admin-functions.php');
    48auth_redirect();
Note: See TracChangeset for help on using the changeset viewer.