Smarty(); $this->template_dir .=($stmp_dir) ? "/".$stmp_dir : ""; $this->compile_dir .=($stmp_dir) ? "/".$stmp_dir : ""; } } $body =new mySmarty(); //「」タ゚ト・ $conf =new Config(); $xml =$conf->parseConfig(CONF_FILE,"XML",array('encoding'=>'UTF-8')); $cfg =$xml->toArray(); $global[site_name] =$cfg[root][conf][sys][site_name]; $global[site_domain]=$cfg[root][conf][sys][site_domain]; $con =connect(); ?>