-
/home/u428703759/domains/sdjingfang.com/public_html/dayrui/App/Synlang/Models/SaveDbAndCache.php : 100 — Phpcmf\Model\Synlang\Cache->writeLangFile ()
93 break; 94 } 95 } 96 } 97 98 if (!$cacheExists) { 99 $allTranslations = $this->getTranslationFromDatabase(null, $to); 100 \Phpcmf\Service::M('Cache', 'synlang')->writeLangFile($allTranslations, $this->filePath); 101 } 102 $encodedTexts = array_map([$this, 'encodeText'], $normalizedTexts); 103 $textMapping = array_combine($encodedTexts, array_map(function($orig, $norm) { 104 return ['original' => $orig, 'normalized' => $norm]; 105 }, $originalTexts, $normalizedTexts)); 106 107 $translations = $this->getTranslations($encodedTexts, $from, $to); -
/home/u428703759/domains/sdjingfang.com/public_html/dayrui/App/Synlang/Config/Hooks.php : 349 — Phpcmf\Model\Synlang\SaveDbAndCache->batchString ()
342 } 343 */ 344 function dr_synlang($html, $to='en', $from='auto'){ 345 346 if(!$to || empty($html)){ 347 return $html; 348 } 349 $trans = \Phpcmf\Service::M('SaveDbAndCache', 'synlang')->batchString($html, $from, $to); 350 351 if(!$trans){ 352 return $html; 353 } 354 355 $arr = array_values($trans); 356 -
/home/u428703759/domains/sdjingfang.com/public_html/dayrui/App/Synlang/Config/Hooks.php : 102 — dr_synlang()
-
{PHP internal code} — Phpcmf\Service::{closure} ()
-
/home/u428703759/domains/sdjingfang.com/public_html/dayrui/Fcms/Core/Hooks.php : 269 — call_user_func()
-
/home/u428703759/domains/sdjingfang.com/public_html/dayrui/App/Module/Extends/Home/Module.php : 576 — Phpcmf\Hooks::trigger_callback ()
569 570 if (method_exists($this->content_model, '_call_show_after')) { 571 $data = $this->content_model->_call_show_after($data); 572 } 573 574 // 挂钩点 575 $data['cat'] = $cat; 576 $rt2 = \Phpcmf\Hooks::trigger_callback('module_show', $data); 577 if ($rt2 && isset($rt2['code']) && $rt2['code']) { 578 $data = $rt2['data']; 579 } 580 581 $data = dr_array22array($data, $this->content_model->_format_show_seo($this->module, $data, $page)); 582 583 // 传入模板 -
/home/u428703759/domains/sdjingfang.com/public_html/dayrui/Fcms/Control/Show.php : 37 — Phpcmf\Home\Module->_Show ()
30 $this->goto_404_page(dr_lang('无法通过id找到共享模块的模块目录')); 31 } 32 33 // 初始化模块 34 $this->_module_init($mid); 35 36 // 调用内容方法 37 $this->_Show($id, null, max(1, (int)\Phpcmf\Service::L('input')->get('page'))); 38 } 39 40 } 41 -
/home/u428703759/domains/sdjingfang.com/public_html/dayrui/System/Extend/Run.php : 149 — Phpcmf\Control\Show->index ()
142 'value' => $value 143 ]); 144 145 } 146 } 147 } 148 149 $app->$method(); 150 151 if (CI_DEBUG) { 152 $tool = new \CodeIgniter\Debug\Toolbar(config(\Config\Toolbar::class)); 153 $tool->prepare($this); 154 } 155 156 -
/home/u428703759/domains/sdjingfang.com/public_html/dayrui/System/Init.php : 402 — Frame\Run->bootWeb ()
395 $tool->respond(); 396 }); 397 } 398 399 400 // 启动框架 401 $run = new \Frame\Run(); 402 $run->bootWeb(); 403 404 -
require /home/u428703759/domains/sdjingfang.com/public_html/dayrui/Fcms/Init.php — require()
-
require /home/u428703759/domains/sdjingfang.com/public_html/index.php — require()
-
require /home/u428703759/domains/sdjingfang.com/public_html/ru/index.php — require()