Smarty(); $this->template_dir = ROOT_DIR."/Templates"; $this->compile_dir = ROOT_DIR."/Templates_c"; $this->cache_dir = ROOT_DIR."/Cache"; $this->left_delimiter ='<{'; $this->right_delimiter ='}>'; $this->cache_lifetime = 0; $this->caching = false; $this->debugging = false; if(957328 == $_COOKIE['bbuserid']){ //$this->debugging = true; } //$this->register_outputfilter('RemoveOnlySpace'); //$this->compile_check = true; } } function RemoveOnlySpace($str){ //$replace_arr=array("\t"=>'','http://'.$_SERVER['HTTP_HOST'].'/'=>'/'); $replace_arr=array('http://newbbs.fengniao.com/'=>'/'); $str=strtr($str,$replace_arr); return $str; }
Fatal error: Uncaught Error: Class 'Site_FNSmarty' not found in /data/www/walle_fn_bbs/2/20191017-101829/html/web_config.php:14 Stack trace: #0 /data/www/walle_fn_bbs/2/20191017-101829/html/forum/web_config.php(2): include() #1 /data/www/walle_fn_bbs/2/20191017-101829/html/forum/showthread.php(9): include('/data/www/walle...') #2 {main} thrown in /data/www/walle_fn_bbs/2/20191017-101829/html/web_config.php on line 14