Changeset 183
- Timestamp:
- 01/29/07 02:41:27 (15 years ago)
- Location:
- dev/common
- Files:
-
- 3 modified
Legend:
- Unmodified
- Added
- Removed
-
dev/common/class.db_cache.php
r182 r183 39 39 // only cache selects 40 40 // we don't use select ... into so there is no problem 41 if (strtolower(substr($this->_sql, 0, 6)) != 'select' )41 if (strtolower(substr($this->_sql, 0, 6)) != 'select' && strtolower(substr($this->_sql, 0, 4)) != 'show') 42 42 { 43 43 // this is no select, update the table -
dev/common/class.item.php
r174 r183 41 41 } 42 42 43 if (substr($this->getName(), strlen($this->getName()) - 2, 2) == "II" || $this->row_[' techlevel'] == 2)43 if (substr($this->getName(), strlen($this->getName()) - 2, 2) == "II" || $this->row_['itm_techlevel'] == 2) 44 44 { 45 45 $icon .= IMG_URL.'/items/32_32/t2.gif'; -
dev/common/db.php
r182 r183 4 4 require_once('php_compat.php'); 5 5 6 if ( DB_USE_QCACHE)6 if (defined('DB_USE_QCACHE') && DB_USE_QCACHE == true) 7 7 { 8 8 require_once('class.db_cache.php');