Missing a slash in plugin manager

I get lots of warnings/errors like this

/var/www/clients/client1/web5/web/core/Plugin/Manager.php(451):
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

Hi,

You are right and this has already been fixed here:

1 Like