PicoDeprecated: Fix LIB_DIR constant
This commit is contained in:
parent
5be2f8e597
commit
c3af40c3b9
|
@ -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());
|
||||||
|
|
Loading…
Reference in a new issue