PicoDeprecated: Fix LIB_DIR constant

pico-3.0-alpha
Daniel Rudolf 10 years ago
parent 5be2f8e597
commit c3af40c3b9
  1. 2
      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());

Loading…
Cancel
Save