summaryrefslogtreecommitdiffstats
path: root/wp-inst
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2005-08-11 17:01:39 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2005-08-11 17:01:39 +0000
commit954a8eff093a9cf1b4f98c532464acd6fbd9de79 (patch)
tree1d65ba6930567334df7d84b7a9d4c1ff02f34cbd /wp-inst
parent62dd3f69b30bea4d1b8f34bd51beb09d5b160319 (diff)
downloadwordpress-mu-954a8eff093a9cf1b4f98c532464acd6fbd9de79.tar.gz
wordpress-mu-954a8eff093a9cf1b4f98c532464acd6fbd9de79.tar.xz
wordpress-mu-954a8eff093a9cf1b4f98c532464acd6fbd9de79.zip
If newblog.php then don't load this.
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@164 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-inst')
-rw-r--r--wp-inst/wp-content/mu-plugins/wp-hashcash.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/wp-inst/wp-content/mu-plugins/wp-hashcash.php b/wp-inst/wp-content/mu-plugins/wp-hashcash.php
index 255b8d5..832a390 100644
--- a/wp-inst/wp-content/mu-plugins/wp-hashcash.php
+++ b/wp-inst/wp-content/mu-plugins/wp-hashcash.php
@@ -18,6 +18,8 @@ Hat tips: Cecil Coupe
Paul Andrew Johnston - http://pajhome.org.uk/crypt/md5/
*/
+if( strpos( $_SERVER[ 'SCRIPT_NAME' ], 'wp-inst/wp-newblog.php' ) == false ) {
+
/* Start the session, if not started */
session_start();
@@ -650,4 +652,6 @@ echo' <p>This comment has been logged, and will not be displayed on the blog.<
add_filter('post_comment_text', 'hashcash_check_hidden_tag');
-?> \ No newline at end of file
+}
+
+?>