Define WP_ADMIN in flash uploader, props hailin, fixes #9368

git-svn-id: http://svn.automattic.com/wordpress/trunk@10827 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2009-03-20 01:07:35 +00:00
parent bea5770abc
commit f26797d298

View File

@ -6,6 +6,8 @@
* @subpackage Administration * @subpackage Administration
*/ */
define('WP_ADMIN', true);
if ( defined('ABSPATH') ) if ( defined('ABSPATH') )
require_once(ABSPATH . 'wp-load.php'); require_once(ABSPATH . 'wp-load.php');
else else