diff options
author | rvelices <rv-github@modusoptimus.com> | 2007-10-12 03:27:34 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2007-10-12 03:27:34 +0000 |
commit | 4afa14cc8d3f26f841c92b083355004251d75087 (patch) | |
tree | 99606ff8bf43f5c30f50d191f3593a5ca6a43260 /admin/include/functions_plugins.inc.php | |
parent | 36e0e6e8f1a455367f363048fc1825aebbd67eee (diff) |
- 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
Diffstat (limited to 'admin/include/functions_plugins.inc.php')
-rw-r--r-- | admin/include/functions_plugins.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
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); |