From b0679ad00fc41a0b4ae35d8ca27ec35a3f214187 Mon Sep 17 00:00:00 2001 From: Gunnar Wrobel
Date: Sun, 3 Oct 2010 19:41:29 +0200 Subject: [PATCH] Fix data dir path for uninstalled package. --- components/lib/Components/Constants.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/lib/Components/Constants.php b/components/lib/Components/Constants.php index 9cad1dc30..491b0e88f 100644 --- a/components/lib/Components/Constants.php +++ b/components/lib/Components/Constants.php @@ -34,7 +34,7 @@ class Components_Constants if (strpos(self::DATA_DIR, '@data_dir') === 0) { return join( DIRECTORY_SEPARATOR, - array(dirname(__FILE__), '..', '..', '..', 'data') + array(dirname(__FILE__), '..', '..', 'data') ); } return self::DATA_DIR . DIRECTORY_SEPARATOR . 'Components'; -- 2.11.0