summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorraylu <raylu@mixpanel.com>2011-07-02 15:17:56 -0700
committerraylu <raylu@mixpanel.com>2011-07-02 15:18:19 -0700
commitc5ca153ff65a1b1adbd35c5f17134dc778ebc0f4 (patch)
treeb7a3f387319b31cc6184b419a5c773fe5e672d02
parenta1eb9d181e9034aed09e447a54c39ea7074f5f25 (diff)
downloadotakuhub-c5ca153ff65a1b1adbd35c5f17134dc778ebc0f4.tar.xz
LITHIUM_APP_PATH is already a dir, but doesn't end in /
dirname() strips the last part of the path because dirname('a/b/c') is 'a/b', regardless of whether c is a directory
-rw-r--r--config/bootstrap/libraries.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/bootstrap/libraries.php b/config/bootstrap/libraries.php
index 4bffbdd..e013ddc 100644
--- a/config/bootstrap/libraries.php
+++ b/config/bootstrap/libraries.php
@@ -59,7 +59,7 @@ define('LITHIUM_APP_PATH', dirname(dirname(__DIR__)));
* directory as your application. If you use the same libraries in multiple applications, you can
* set this to a shared path on your server.
*/
-define('LITHIUM_LIBRARY_PATH', dirname(LITHIUM_APP_PATH) . '/libraries');
+define('LITHIUM_LIBRARY_PATH', LITHIUM_APP_PATH . '/libraries');
/**
* Locate and load Lithium core library files. Throws a fatal error if the core can't be found.
@@ -124,4 +124,4 @@ Libraries::add('app', array('default' => true));
// Libraries::add('li3_docs');
Libraries::add('li3_flash_message');
Libraries::add('li3_paginate');
-?> \ No newline at end of file
+?>