Make WordPress Core


Ignore:
Timestamp:
05/21/2008 05:59:27 AM (16 years ago)
Author:
ryan
Message:

Allow wp-config.php to exist one level up from WordPress root directory. Props sambauers. fixes #6933

File:
1 edited

Legend:

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

    r7682 r7971  
    66
    77if ( defined('ABSPATH') )
    8     require_once( ABSPATH . 'wp-config.php');
     8    require_once(ABSPATH . 'wp-load.php');
    99else
    10     require_once('../wp-config.php');
     10    require_once('../wp-load.php');
    1111
    1212// Flash often fails to send cookies with the POST or upload, so we need to pass it in GET or POST instead
Note: See TracChangeset for help on using the changeset viewer.