Better is_admin() check from filosofo and pishmishy. fixes #5487

git-svn-id: https://develop.svn.wordpress.org/trunk@6412 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2007-12-19 17:56:16 +00:00
parent 96ee1a9982
commit 996d913b0e
2 changed files with 5 additions and 3 deletions
+2
View File
@@ -1,4 +1,6 @@
<?php
define('WP_ADMIN', TRUE);
if ( defined('ABSPATH') )
require_once( ABSPATH . 'wp-config.php');
else