Commit ad60ed1a by seldaek

Fixing default compile/cache dirs, fixes #58

git-svn-id: http://svn.dwoo.org/trunk@344 0598d79b-80c4-4d41-97ba-ac86fbbd088b
parent 9315dcc8
...@@ -642,7 +642,7 @@ class Dwoo_Core ...@@ -642,7 +642,7 @@ class Dwoo_Core
public function getCacheDir() public function getCacheDir()
{ {
if ($this->cacheDir === null) { if ($this->cacheDir === null) {
$this->setCacheDir(dirname(__FILE__).DIRECTORY_SEPARATOR.'cache'.DIRECTORY_SEPARATOR); $this->setCacheDir(DWOO_DIRECTORY.'cache'.DIRECTORY_SEPARATOR);
} }
return $this->cacheDir; return $this->cacheDir;
...@@ -669,7 +669,7 @@ class Dwoo_Core ...@@ -669,7 +669,7 @@ class Dwoo_Core
public function getCompileDir() public function getCompileDir()
{ {
if ($this->compileDir === null) { if ($this->compileDir === null) {
$this->setCompileDir(dirname(__FILE__).DIRECTORY_SEPARATOR.'compiled'.DIRECTORY_SEPARATOR); $this->setCompileDir(DWOO_DIRECTORY.'compiled'.DIRECTORY_SEPARATOR);
} }
return $this->compileDir; return $this->compileDir;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment