   /core/cms.php,   loadSmarty()

    


public function loadSmarty(){
    	$inConf = cmsConfig::getInstance();
        $cache_dir=PATH.'/cache/'.$inConf->template;
        $result=true;
        $this->includeFile('/includes/smarty/libs/Smarty.class.php');
        if(!file_exists($cache_dir)){
        	$result=@mkdir($cache_dir, 0775);
        }
        $this->smarty = new Smarty();

        $this->smarty->compile_dir =$result?$cache_dir:PATH.'/cache';
    }
    
       .
 .

               
     ,       
Opera Mobile Emulator       .

  Opera mobile, IPAD, IPHONE, Android, Symbian, WP, blackberry.


  