芝麻web文件管理V1.00
编辑当前文件:/home/strato/chroot/opt/RZphp80/includes/test/MDB_QueryTool/tests/Common.php
TABLE_QUESTION, 'shortName' => TABLE_QUESTION), array('name' => TABLE_ANSWER, 'shortName' => TABLE_ANSWER) ); function tests_Common($table=null) { if ($table != null) { $this->table = $table; } parent::MDB_QueryTool(unserialize(MDB_QUERYTOOL_TEST_DSN), array(), 2); $this->db->setOption('portability', MDB2_PORTABILITY_NONE); $this->setErrorSetCallback(array(&$this,'errorSet')); $this->setErrorLogCallback(array(&$this,'errorLog')); } // // just for the error handling // function errorSet($msg) { $GLOBALS['_Common_Errors'][] = array('set', $msg); } function errorLog($msg) { $GLOBALS['_Common_Errors'][] = array('log', $msg); } function getErrors() { return $GLOBALS['_Common_Errors']; } } ?>