From 79dbaee37760b8cb3e835affdfea83465414c122 Mon Sep 17 00:00:00 2001 From: donncha Date: Mon, 13 Nov 2006 18:56:18 +0000 Subject: Use PLUGINDIR (fixes #191) git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@805 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-settings.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'wp-settings.php') diff --git a/wp-settings.php b/wp-settings.php index d82c124..088d8fa 100644 --- a/wp-settings.php +++ b/wp-settings.php @@ -258,8 +258,8 @@ if ( get_option('active_plugins') ) { $current_plugins = get_option('active_plugins'); if ( is_array($current_plugins) ) { foreach ($current_plugins as $plugin) { - if ('' != $plugin && file_exists(ABSPATH . 'wp-content/plugins/' . $plugin)) - include_once(ABSPATH . 'wp-content/plugins/' . $plugin); + if ('' != $plugin && file_exists(ABSPATH . PLUGINDIR . '/' . $plugin)) + include_once(ABSPATH . PLUGINDIR . '/' . $plugin); } } } -- cgit