Changing dwoo compilation & cache dirs

This commit is contained in:
devarped 2019-11-29 21:58:12 +03:00
parent 8cde1c1449
commit a81928ad68
2 changed files with 3 additions and 2 deletions

1
dwoo/cache/chmod777.delete.me vendored Normal file
View File

@ -0,0 +1 @@
~

View File

@ -383,7 +383,7 @@ class Dwoo_Core
{
if ($this->cacheDir === null)
{
$this->setCacheDir(DWOO_DIRECTORY . 'cache' . DIRECTORY_SEPARATOR);
$this->setCacheDir(KU_ROOTDIR . 'dwoo' . DIRECTORY_SEPARATOR . 'cache');
}
return $this->cacheDir;
}
@ -399,7 +399,7 @@ class Dwoo_Core
{
if ($this->compileDir === null)
{
$this->setCompileDir(DWOO_DIRECTORY . 'compiled' . DIRECTORY_SEPARATOR);
$this->setCacheDir(KU_ROOTDIR . 'dwoo' . DIRECTORY_SEPARATOR . 'templates_c');
}
return $this->compileDir;
}