From 29c2072f5e5b03828c3bfa2af0b1c1cc3fe30923 Mon Sep 17 00:00:00 2001 From: donncha Date: Thu, 28 Sep 2006 10:30:23 +0000 Subject: Use UPLOADS constant and update blogs.php (fixes #168) git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@777 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-content/mu-plugins/misc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wp-content/mu-plugins') diff --git a/wp-content/mu-plugins/misc.php b/wp-content/mu-plugins/misc.php index c65f02e..947f459 100644 --- a/wp-content/mu-plugins/misc.php +++ b/wp-content/mu-plugins/misc.php @@ -72,7 +72,7 @@ function upload_is_user_over_quota( $ret ) { $spaceAllowed = get_site_option("blog_upload_space"); if(empty($spaceAllowed) || !is_numeric($spaceAllowed)) $spaceAllowed = 10; - $dirName = ABSPATH."wp-content/blogs.dir/" . $wpdb->blogid . "/files/"; + $dirName = constant( "ABSPATH" ) . constant( "UPLOADS" ); $size = get_dirsize($dirName) / 1024 / 1024; if( ($spaceAllowed-$size) < 0 ) { -- cgit