PicoDeprecated: Fix LIB_DIR constant

This commit is contained in:
Daniel Rudolf 2015-12-23 16:17:33 +01:00
parent 5be2f8e597
commit c3af40c3b9

View file

@ -138,7 +138,7 @@ class PicoDeprecated extends AbstractPicoPlugin
} }
if (!defined('LIB_DIR')) { if (!defined('LIB_DIR')) {
$picoReflector = new ReflectionClass('Pico'); $picoReflector = new ReflectionClass('Pico');
define('LIB_DIR', dirname($picoReflector->getFileName() . '/')); define('LIB_DIR', dirname($picoReflector->getFileName()) . '/');
} }
if (!defined('PLUGINS_DIR')) { if (!defined('PLUGINS_DIR')) {
define('PLUGINS_DIR', $this->getPluginsDir()); define('PLUGINS_DIR', $this->getPluginsDir());