original_string: private function enableSmarty()
      {
          if ($this->smarty !== NULL)
          {
              return;
          }
  
          $this->smarty = new Smarty;
          $this->smarty->setTemplateDir(PUBLIC_DIR);
          $this->smarty->setCompileDir(PUBLIC_DIR . 'smarty' . DSC . 'compile');
          $this->smarty->setCacheDir(PUBLIC_DIR . 'smarty' . DSC . 'cache');
      }
code: private function enableSmarty()
      {
          if ($this->smarty !== NULL)
          {
              return;
          }
  
          $this->smarty = new Smarty;
          $this->smarty->setTemplateDir(PUBLIC_DIR);
          $this->smarty->setCompileDir(PUBLIC_DIR . 'smarty' . DSC . 'compile');
          $this->smarty->setCacheDir(PUBLIC_DIR . 'smarty' . DSC . 'cache');
      }
code_tokens: private function enableSmarty ( ) { if ( $ this -> smarty !== NULL ) { return ; } $ this -> smarty = new Smarty ; $ this -> smarty -> setTemplateDir ( PUBLIC_DIR ) ; $ this -> smarty -> setCompileDir ( PUBLIC_DIR . 'smarty' . DSC . 'compile' ) ; $ this -> smarty -> setCacheDir ( PUBLIC_DIR . 'smarty' . DSC . 'cache' ) ; }
docstring: Enables Smarty.
docstring_tokens: Enables Smarty .