require_once() the dashboard include, using ABSPATH. props Viper007Bond. fixes #6356

git-svn-id: http://svn.automattic.com/wordpress/trunk@7504 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
markjaquith 2008-03-24 20:36:46 +00:00
parent 1276a8283c
commit 4cc8c4e7f8
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
require_once('admin.php'); require_once('admin.php');
require( './includes/dashboard.php' ); require_once(ABSPATH . 'wp-admin/includes/dashboard.php');
wp_dashboard_setup(); wp_dashboard_setup();