public function setCacheDir($cacheDir) {
    $this->view->setCompileDir(WCMF_BASE.$cacheDir.'templates_c/');
    $this->view->setCacheDir(WCMF_BASE.$cacheDir.'cache/');

    $fileUtil = new FileUtil();
    $fileUtil->mkdirRec($this->view->getCompileDir());
    $fileUtil->mkdirRec($this->view->getCacheDir());
  }