-
/www/wwwroot/shop.tianrong.cc/dayrui/System/Cache/Handlers/FileHandler.php : 66 — CodeIgniter\Cache\Exceptions\CacheException::forUnableToWrite ()
59 ...$config->file, 60 ]; 61 62 $this->path = $options['storePath'] !== '' ? $options['storePath'] : WRITEPATH . 'cache'; 63 $this->path = rtrim($this->path, '\\/') . '/'; 64 65 if (! is_really_writable($this->path)) { 66 throw CacheException::forUnableToWrite($this->path); 67 } 68 69 $this->mode = $options['mode']; 70 $this->prefix = $config->prefix; 71 72 helper('filesystem'); 73 } -
/www/wwwroot/shop.tianrong.cc/dayrui/System/Cache/CacheFactory.php : 67 — CodeIgniter\Cache\Handlers\FileHandler->__construct ()
60 $handler ??= $config->handler; 61 $backup ??= $config->backupHandler; 62 63 if (! array_key_exists($handler, $config->validHandlers) || ! array_key_exists($backup, $config->validHandlers)) { 64 throw CacheException::forHandlerNotFound(); 65 } 66 67 $adapter = new $config->validHandlers[$handler]($config); 68 69 if (! $adapter->isSupported()) { 70 $adapter = new $config->validHandlers[$backup]($config); 71 72 if (! $adapter->isSupported()) { 73 // Fall back to the dummy adapter. 74 $adapter = new $config->validHandlers['dummy'](); -
/www/wwwroot/shop.tianrong.cc/dayrui/System/Extend/Cache.php : 16 — CodeIgniter\Cache\CacheFactory::getHandler ()
9 private $cache; 10 11 public function __construct() { 12 13 $config = config(\Config\Cache::class); 14 15 16 $this->cache = CacheFactory::getHandler($config); 17 } 18 19 public function save($key, $value, $time = 3600) { 20 return $this->cache->save(SYS_KEY.$key, $value, $time); 21 } 22 23 public function get($key) -
/www/wwwroot/shop.tianrong.cc/dayrui/Fcms/Library/Cache.php : 218 — Frame\Cache->__construct ()
211 212 if ($this->cache) { 213 return $this->cache; 214 } 215 216 if (is_file(FRAMEPATH.'Extend/Cache.php')) { 217 require FRAMEPATH.'Extend/Cache.php'; 218 $this->cache = new \Frame\Cache(); 219 } else { 220 $this->cache = cache(); 221 } 222 223 return $this->cache; 224 } 225 -
/www/wwwroot/shop.tianrong.cc/dayrui/Fcms/Library/Cache.php : 241 — Phpcmf\Library\Cache->init ()
234 $time && self::init()->save(md5(SITE_ID.'-'.$name), $value, $time); 235 236 return $value; 237 } 238 239 // 获取内容 240 public function get_data($name) { 241 return self::init()->get(md5(SITE_ID.'-'.$name)); 242 } 243 244 // 删除内容 245 public function del_data($name) { 246 function_exists('opcache_reset') && opcache_reset(); 247 return self::init()->delete(md5(SITE_ID.'-'.$name)); 248 } -
/www/wwwroot/shop.tianrong.cc/dayrui/Fcms/Model/Field.php : 260 — Phpcmf\Library\Cache->get_data ()
253 254 /** 255 * 获取网站信息的自定义字段 256 **/ 257 public function get_mysite_field($siteid = SITE_ID) { 258 259 $name = 'my-site-'.$siteid; 260 $value = \Phpcmf\Service::L('cache')->get_data($name); 261 if (IS_ADMIN || !$value) { 262 $field = $this->db->table('field') 263 ->where('disabled', 0) 264 ->where('relatedid', $siteid) 265 ->where('relatedname', 'site') 266 ->orderBy('displayorder ASC,id ASC') 267 ->get() -
/www/wwwroot/shop.tianrong.cc/dayrui/App/Module/Models/Site.php : 305 — Phpcmf\Model\Field->get_mysite_field ()
298 if (!is_dir($webpath[$t['id']]['site'])) { 299 log_message('error', '多站点:站点【'.$t['id'].'】目录【'.$webpath[$t['id']]['site'].'】不存在'); 300 //continue; 301 } 302 } 303 304 // 自定义站点字段 305 $field = \Phpcmf\Service::M('field')->get_mysite_field($t['id']); 306 if ($field && $t['setting']['param']) { 307 $t['setting']['param'] = \Phpcmf\Service::L('Field')->app('')->format_value($field, $t['setting']['param'], 1); 308 } 309 310 // 删除首页静态文件 311 //unlink($webpath[$t['id']]['site'].'index.html'); 312 //unlink($webpath[$t['id']]['site'].$mobile_dirname.'/index.html'); -
/www/wwwroot/shop.tianrong.cc/dayrui/Fcms/Model/Cache.php : 100 — Phpcmf\Model\Module\Site->cache ()
93 94 \Phpcmf\Hooks::trigger('update_cache'); 95 96 if (!$this->is_sync_cache) { 97 $this->site_cache = $this->table('site')->where('disabled', 0)->getAll(); 98 if (dr_is_use_module()) { 99 $this->module_cache = $this->table('module')->order_by('displayorder ASC,id ASC')->getAll(); 100 \Phpcmf\Service::M('site', 'module')->cache(0, $this->site_cache, $this->module_cache); 101 } else { 102 \Phpcmf\Service::M('site')->cache(0, $this->site_cache); 103 } 104 } 105 106 if ($name) { 107 if (!$is_site_param) { -
/www/wwwroot/shop.tianrong.cc/dayrui/App/Module/Config/Module_init.php : 22 — Phpcmf\Model\Cache->sync_cache ()
15 if ($dirname == 'share' || (isset($cache[$dirname]) && $cache[$dirname])) { 16 $this->module = \Phpcmf\Service::L('cache')->get('module-'.$siteid.'-'.$dirname); 17 } 18 19 // 判断模块是否存在 20 if (!$this->module) { 21 // 重新生成一次缓存 22 \Phpcmf\Service::M('cache')->sync_cache(''); 23 $this->module = \Phpcmf\Service::L('cache')->get('module-'.$siteid.'-'.$dirname); 24 if (!$this->module) { 25 if (IS_ADMIN) { 26 if ($dirname == 'share') { 27 if ($rt) { 28 return 0; 29 } else { -
require_once /www/wwwroot/shop.tianrong.cc/dayrui/Fcms/Core/Phpcmf.php — require_once()
-
/www/wwwroot/shop.tianrong.cc/dayrui/Fcms/Control/Show.php : 34 — Phpcmf\Common->_module_init ()
27 } 28 $mid = $row['mid']; 29 if (!$mid) { 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 -
/www/wwwroot/shop.tianrong.cc/dayrui/System/Extend/Run.php : 148 — Phpcmf\Control\Show->index ()
141 'value' => $value 142 ]); 143 144 } 145 } 146 } 147 148 $app->$method(); 149 150 if (CI_DEBUG) { 151 $tool = new \CodeIgniter\Debug\Toolbar(config(\Config\Toolbar::class)); 152 $tool->prepare($this); 153 } 154 155 -
/www/wwwroot/shop.tianrong.cc/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 /www/wwwroot/shop.tianrong.cc/dayrui/Fcms/Init.php — require()
-
require /www/wwwroot/shop.tianrong.cc/public/index.php — require()