Changeset 479 for trunk/lib/DB.inc.php
- Timestamp:
- May 3, 2014 11:09:03 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/DB.inc.php
r478 r479 101 101 public function setParam($params) 102 102 { 103 103 $app =& App::getInstance(); 104 104 105 105 if (isset($params) && is_array($params)) { … … 120 120 public function getParam($param) 121 121 { 122 122 $app =& App::getInstance(); 123 123 124 124 if (array_key_exists($param, $this->_params)) { … … 139 139 public function connect() 140 140 { 141 141 $app =& App::getInstance(); 142 142 143 143 if (!$this->getParam('db_name') || !$this->getParam('db_user') || !$this->getParam('db_pass')) { … … 339 339 public function tableExists($table, $use_cached_results=true) 340 340 { 341 341 $app =& App::getInstance(); 342 342 343 343 if (!$this->_connected) {
Note: See TracChangeset
for help on using the changeset viewer.