Browse Source

PicoDeprecated: Fix LIB_DIR constant

Daniel Rudolf 9 years ago
parent
commit
c3af40c3b9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugins/00-PicoDeprecated.php

+ 1 - 1
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());