Example #1
0
 }
 if (!empty($this->root->k_tai_conf['icon'])) {
     $r->Config_icons = array_merge($r->Config_icons, $this->root->k_tai_conf['icon']);
 }
 if (!empty($this->root->k_tai_conf['getKeys'])) {
     $r->pagekey = $this->root->k_tai_conf['getKeys']['page'];
     $r->hashkey = $this->root->k_tai_conf['getKeys']['hash'];
 }
 if (!empty($this->root->k_tai_conf['pictSizeMax'])) {
     $r->Config_pictSizeMax = $this->root->k_tai_conf['pictSizeMax'];
 }
 if (!empty($this->root->k_tai_conf['docomoGuidTTL'])) {
     $r->Config_docomoGuidTTL = $this->root->k_tai_conf['docomoGuidTTL'];
 }
 if (!empty($this->root->k_tai_conf['urlRewrites'])) {
     $r->marge_urlRewites('urlRewrites', $this->root->k_tai_conf['urlRewrites']);
 }
 if (!empty($this->root->k_tai_conf['urlImgRewrites'])) {
     $r->marge_urlRewites('urlImgRewrites', $this->root->k_tai_conf['urlImgRewrites']);
 }
 if (!empty($this->root->k_tai_conf['googleAdsense']['config'])) {
     $r->Config_googleAdSenseConfig = $this->root->k_tai_conf['googleAdsense']['config'];
     $r->Config_googleAdSenseBelow = $this->root->k_tai_conf['googleAdsense']['below'];
 }
 $googleAnalytics = '';
 if ($this->root->k_tai_conf['googleAnalyticsId']) {
     $googleAnalytics = $r->googleAnalyticsGetImgTag($this->root->k_tai_conf['googleAnalyticsId'], $title);
 }
 $r->inputEncode = $this->cont['SOURCE_ENCODING'];
 $r->outputEncode = $this->root->keitai_output_filter;
 $r->outputMode = 'xhtml';