diff --git a/plugins/00-PicoDeprecated.php b/plugins/00-PicoDeprecated.php index b3207cf..cec9d76 100644 --- a/plugins/00-PicoDeprecated.php +++ b/plugins/00-PicoDeprecated.php @@ -138,7 +138,7 @@ class PicoDeprecated extends AbstractPicoPlugin } if (!defined('LIB_DIR')) { $picoReflector = new ReflectionClass('Pico'); - define('LIB_DIR', dirname($picoReflector->getFileName() . '/')); + define('LIB_DIR', dirname($picoReflector->getFileName()) . '/'); } if (!defined('PLUGINS_DIR')) { define('PLUGINS_DIR', $this->getPluginsDir());