summaryrefslogtreecommitdiffstats
path: root/wp-inst/wp-content
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2005-09-27 16:11:28 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2005-09-27 16:11:28 +0000
commita5ec95c84ec105432798125715b65411c84b89bf (patch)
tree3d4e9ac25eec1a849070db1eac689c6eee406b6a /wp-inst/wp-content
parent41c844d0db6d3f793b563ea69ab624a5a5cb5b1c (diff)
downloadwordpress-mu-a5ec95c84ec105432798125715b65411c84b89bf.tar.gz
wordpress-mu-a5ec95c84ec105432798125715b65411c84b89bf.tar.xz
wordpress-mu-a5ec95c84ec105432798125715b65411c84b89bf.zip
Fixed upload path for new uploader
blogs script handles sub-dirs remove second "rich editor" checkbox remove upload link from menu git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@375 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-inst/wp-content')
-rw-r--r--wp-inst/wp-content/blogs2
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-inst/wp-content/blogs b/wp-inst/wp-content/blogs
index 86def62..8a3d17f 100644
--- a/wp-inst/wp-content/blogs
+++ b/wp-inst/wp-content/blogs
@@ -1,7 +1,7 @@
<?php
define( "BLOGDEFINITION", true );
require_once( "../wp-config.php" );
-$file = substr( $_SERVER[ 'REQUEST_URI' ], strrpos( $_SERVER[ 'REQUEST_URI' ], '/' ) );
+$file = substr( $_SERVER[ 'REQUEST_URI' ], strpos( $_SERVER[ 'REQUEST_URI' ], '/files' ) + 6 );
$file = ABSPATH . "wp-content/blogs.dir/" . $blog_id . '/files/' . $file;