summaryrefslogtreecommitdiffstats
path: root/wp-admin/plugin-editor.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-09-26 15:45:20 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-09-26 15:45:20 +0000
commit28781ebb081ab8d99b30a33f5cd911b3b050bcc9 (patch)
treef21e6b7d3dd06002c58dd52ae2eae10d64d62d85 /wp-admin/plugin-editor.php
parentcbd939114d362bfece3839d7d5d5e07367fd6be8 (diff)
downloadwordpress-mu-28781ebb081ab8d99b30a33f5cd911b3b050bcc9.tar.gz
wordpress-mu-28781ebb081ab8d99b30a33f5cd911b3b050bcc9.tar.xz
wordpress-mu-28781ebb081ab8d99b30a33f5cd911b3b050bcc9.zip
WP Merge to rev 4254
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@770 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-admin/plugin-editor.php')
-rw-r--r--wp-admin/plugin-editor.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/wp-admin/plugin-editor.php b/wp-admin/plugin-editor.php
index c604d19..42fe9d4 100644
--- a/wp-admin/plugin-editor.php
+++ b/wp-admin/plugin-editor.php
@@ -15,7 +15,7 @@ if (empty($file)) {
}
$file = validate_file_to_edit($file, $plugin_files);
-$real_file = get_real_file_to_edit("wp-content/plugins/$file");
+$real_file = get_real_file_to_edit( PLUGINDIR . "/$file");
switch($action) {
@@ -47,7 +47,7 @@ default:
require_once('admin-header.php');
- update_recently_edited("wp-content/plugins/$file");
+ update_recently_edited(PLUGINDIR . "/$file");
if (!is_file($real_file))
$error = 1;