Missing a slash in plugin manager


I get lots of warnings/errors like this

Warning - is_dir(): open_basedir restriction in effect. File(/var/www/clients/client1/web5/webplugins/ExamplePluginTemplate) is not within the allowed path(s):

there should be a slash between web and plugins, web/plugins instead of webplugins

line 451
$corePluginsDir = PIWIK_INCLUDE_PATH . ‘plugins/’ . $pluginName;
it starts working if I change it to
$corePluginsDir = PIWIK_INCLUDE_PATH . ‘/plugins/’ . $pluginName;
but that doesn’t seem like a sustainable solution

(Lukas Winkler) #2


You are right and this has already been fixed here: