From 4afa14cc8d3f26f841c92b083355004251d75087 Mon Sep 17 00:00:00 2001 From: rvelices Date: Fri, 12 Oct 2007 03:27:34 +0000 Subject: - fix plugin menu link broken with xamp (realpath behaves differently) - complete quick search rewriting - now we can quote phrases as in google "New York" is not the same as New York - user comments not searched anymore (faster) - the big full text query does not use joins anymore (faster) - related tags not shown on the index page, but now you can see the matching tags and matching categories git-svn-id: http://piwigo.org/svn/trunk@2135 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/include/functions_plugins.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'admin/include/functions_plugins.inc.php') diff --git a/admin/include/functions_plugins.inc.php b/admin/include/functions_plugins.inc.php index dfbfbb8a3..b86c2d0a4 100644 --- a/admin/include/functions_plugins.inc.php +++ b/admin/include/functions_plugins.inc.php @@ -95,7 +95,7 @@ function get_admin_plugin_menu_link($file) $url = get_root_url().'admin.php?page=plugin'; if (false!==$real_file) { - $real_plugin_path = realpath(PHPWG_PLUGINS_PATH); + $real_plugin_path = rtrim(realpath(PHPWG_PLUGINS_PATH), '\\/'); $file = substr($real_file, strlen($real_plugin_path)+1); $file = str_replace('\\', '/', $file);//Windows $url .= '&section='.urlencode($file); -- cgit v1.2.3