コード例 #1
0
ファイル: mysqldatabase.php プロジェクト: nao-pon/impresscms
 public function __construct()
 {
     parent::__construct();
     $this->_errors = icms_core_Debug::setDeprecated('icms_db_legacy_mysql_Proxy', sprintf(_CORE_REMOVE_IN_VERSION, '1.4'));
 }
コード例 #2
0
 function query($sql, $limit = 0, $start = 0)
 {
     $sql4check = substr($sql, 7);
     foreach ($this->doubtful_needles as $needle) {
         if (stristr($sql4check, $needle)) {
             $this->checkSql($sql);
             break;
         }
     }
     if (!defined('XOOPS_DB_PROXY')) {
         $ret = parent::queryF($sql, $limit, $start);
     } else {
         $ret = parent::query($sql, $limit, $start);
     }
     return $ret;
 }