当前位置:LaySNS首页 > 技术交流

CMS正常BBS出现磨剑是怎么回事

楼主:三岁小弟弟 时间:2019-04-07 10:14:18 点击:1256 回复:0


不支持的数据表达式:rand()
  1. if ('__TABLE__' == $table) {
  2. $table = $this->query->getTable();
  3. }
  4. if (isset($options['alias'][$table])) {
  5. $table = $options['alias'][$table];
  6. }
  7. }
  8. if ($strict && !preg_match('/^[\w\.\*]+$/', $key)) {
  9. throw new Exception('not support data:' . $key);
  10. }
  11. if ('*' != $key && ($strict || !preg_match('/[,\'\"\*\(\)`.\s]/', $key))) {
  12. $key = '`' . $key . '`';
  13. }
  14. if (isset($table)) {
  15. if (strpos($table, '.')) {
  16. $table = str_replace('.', '`.`', $table);
  17. }
  18. $key = '`' . $table . '`.' . $key;
0.111244s