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');
    }
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');
    }
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' ) ; }
Enables Smarty.
Enables Smarty .