diff options
Diffstat (limited to 'wp-admin/async-upload.php')
| -rw-r--r-- | wp-admin/async-upload.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wp-admin/async-upload.php b/wp-admin/async-upload.php index c1c0f0d..59feb8c 100644 --- a/wp-admin/async-upload.php +++ b/wp-admin/async-upload.php @@ -5,9 +5,9 @@ */ if ( defined('ABSPATH') ) - require_once( ABSPATH . 'wp-config.php'); + require_once(ABSPATH . 'wp-load.php'); else - require_once('../wp-config.php'); + require_once('../wp-load.php'); // Flash often fails to send cookies with the POST or upload, so we need to pass it in GET or POST instead if ( empty($_COOKIE[AUTH_COOKIE]) && !empty($_REQUEST['auth_cookie']) ) |
