summaryrefslogtreecommitdiffstats
path: root/wp-content/mu-plugins
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-09-28 10:30:23 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-09-28 10:30:23 +0000
commit29c2072f5e5b03828c3bfa2af0b1c1cc3fe30923 (patch)
tree5eed5ade60708d5c849c9f68b382e5eaf8405ad3 /wp-content/mu-plugins
parentbafa5945fee3311ab6d4a0c442376345a019a7be (diff)
downloadwordpress-mu-29c2072f5e5b03828c3bfa2af0b1c1cc3fe30923.tar.gz
wordpress-mu-29c2072f5e5b03828c3bfa2af0b1c1cc3fe30923.tar.xz
wordpress-mu-29c2072f5e5b03828c3bfa2af0b1c1cc3fe30923.zip
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
Diffstat (limited to 'wp-content/mu-plugins')
-rw-r--r--wp-content/mu-plugins/misc.php2
1 files changed, 1 insertions, 1 deletions
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 ) {