-
/www/wwwroot/www.geekvalue-smt.com/dayrui/System/Database/MySQLi/Connection.php : 327 — mysqli->query ()
320 $this->connID->next_result(); 321 if ($res = $this->connID->store_result()) { 322 $res->free(); 323 } 324 } 325 326 try { 327 return $this->connID->query($this->prepQuery($sql), $this->resultMode); 328 } catch (mysqli_sql_exception $e) { 329 log_message('error', (string) $e); 330 331 if ($this->DBDebug) { 332 throw new DatabaseException($e->getMessage(), $e->getCode(), $e); 333 } 334 } -
/www/wwwroot/www.geekvalue-smt.com/dayrui/System/Database/BaseConnection.php : 729 — CodeIgniter\Database\MySQLi\Connection->execute ()
722 */ 723 public function simpleQuery(string $sql) 724 { 725 if (empty($this->connID)) { 726 $this->initialize(); 727 } 728 729 return $this->execute($sql); 730 } 731 732 /** 733 * Disable Transactions 734 * 735 * This permits transactions to be disabled at run-time. 736 * -
/www/wwwroot/www.geekvalue-smt.com/dayrui/System/Database/BaseConnection.php : 646 — CodeIgniter\Database\BaseConnection->simpleQuery ()
639 640 return $query; 641 } 642 643 // Run the query for real 644 try { 645 $exception = null; 646 $this->resultID = $this->simpleQuery($query->getQuery()); 647 } catch (DatabaseException $exception) { 648 $this->resultID = false; 649 } 650 651 if ($this->resultID === false) { 652 $query->setDuration($startTime, $startTime); 653 -
/www/wwwroot/www.geekvalue-smt.com/dayrui/System/Database/BaseConnection.php : 1608 — CodeIgniter\Database\BaseConnection->query ()
1601 if ($this->DBDebug) { 1602 throw new DatabaseException('This feature is not available for the database you are using.'); 1603 } 1604 1605 return false; 1606 } 1607 1608 $query = $this->query($sql); 1609 1610 $this->dataCache['field_names'][$table] = []; 1611 1612 foreach ($query->getResultArray() as $row) { 1613 // Do we know from where to get the column's name? 1614 if (! isset($key)) { 1615 if (isset($row['column_name'])) { -
/www/wwwroot/www.geekvalue-smt.com/dayrui/System/Database/BaseConnection.php : 1636 — CodeIgniter\Database\BaseConnection->getFieldNames ()
1629 } 1630 1631 /** 1632 * Determine if a particular field exists 1633 */ 1634 public function fieldExists(string $fieldName, string $tableName): bool 1635 { 1636 return in_array($fieldName, $this->getFieldNames($tableName), true); 1637 } 1638 1639 /** 1640 * Returns an object with field data 1641 * 1642 * @return list<stdClass> 1643 */ -
/www/wwwroot/www.geekvalue-smt.com/dayrui/Fcms/Core/Model.php : 177 — CodeIgniter\Database\BaseConnection->fieldExists ()
170 171 if (!$table || !$name) { 172 $this->_clear(); 173 return 0; 174 } 175 176 $table = strpos($table, $this->prefix) === 0 ? $table : $this->dbprefix($table); 177 $rt = $this->db->fieldExists($name, $table) ? 1 : 0; 178 $this->_clear(); 179 180 return $rt; 181 } 182 183 // 字段值是否存在 184 public function is_exists($id, $name, $value) { -
/www/wwwroot/www.geekvalue-smt.com/dayrui/App/Module/Models/Content.php : 871 — Phpcmf\Model->is_field_exists ()
864 // 按自定义字段获取内容 865 public function find_row($field, $value) { 866 867 if (!$field) { 868 return []; 869 } elseif (!strlen($value)) { 870 return []; 871 } elseif (!$this->is_field_exists($this->mytable, $field)) { 872 return []; 873 } 874 875 return $this->db->table($this->mytable)->where($field, dr_safe_replace($value))->get()->getRowArray(); 876 } 877 878 // 获取内容 -
/www/wwwroot/www.geekvalue-smt.com/dayrui/App/Module/Models/Content.php : 892 — Phpcmf\Model\Module\Content->find_row ()
885 886 if (!$id) { 887 if (!$param) { 888 return []; 889 } elseif (!$param['field']) { 890 return []; 891 } 892 $row = $this->find_row($param['field'], $param['value']); 893 if (!$row) { 894 return []; 895 } 896 $id = $row['id']; 897 } else { 898 $row = $this->table($table)->get($id); 899 if (!$row) { -
/www/wwwroot/www.geekvalue-smt.com/dayrui/App/Module/Extends/Home/Module.php : 478 — Phpcmf\Model\Module\Content->get_data ()
471 $id = md5($param['field'].$param['value']); 472 $is_id = 0; 473 } 474 475 $name = 'module_'.$this->module['dirname'].'_show_id_'.$id.($this->is_mobile ? '_m' : '').($page > 1 ? '_p'.$page : ''); 476 $data = \Phpcmf\Service::L('cache')->get_data($name); 477 if (!$data) { 478 $data = $this->content_model->get_data($is_id ? $id : 0, 0, $param); 479 if (!$data) { 480 $this->goto_404_page(dr_lang('%s内容(#%s)不存在', $this->module['name'], $id)); 481 return; 482 } 483 484 // 检测转向字段 485 if (!$rt) { -
/www/wwwroot/www.geekvalue-smt.com/dayrui/App/Product/Controllers/Show.php : 12 — Phpcmf\Home\Module->_Show ()
5 */ 6 7 class Show extends \Phpcmf\Home\Module 8 { 9 10 public function index() { 11 $this->_module_init(); 12 $this->_Show( 13 (int)\Phpcmf\Service::L('Input')->get('id'), 14 [ 15 'field' => dr_safe_replace(\Phpcmf\Service::L('Input')->get('field')), 16 'value' => dr_safe_replace(\Phpcmf\Service::L('Input')->get('value')), 17 ], 18 max(1, (int)\Phpcmf\Service::L('Input')->get('page')) 19 ); -
/www/wwwroot/www.geekvalue-smt.com/dayrui/System/Extend/Run.php : 149 — Phpcmf\Controllers\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 -
/www/wwwroot/www.geekvalue-smt.com/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/www.geekvalue-smt.com/dayrui/Fcms/Init.php — require()
-
require /www/wwwroot/www.geekvalue-smt.com/public/index.php — require()