From c3af40c3b92af48fd9cf2c98e34a86fc6ae4d778 Mon Sep 17 00:00:00 2001 From: Daniel Rudolf Date: Wed, 23 Dec 2015 16:17:33 +0100 Subject: [PATCH] PicoDeprecated: Fix LIB_DIR constant --- plugins/00-PicoDeprecated.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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());