Changeset 1752 for trunk/framework/Data/TDataSourceConfig.php
- Timestamp:
- 03/09/2007 02:21:01 PM (22 months ago)
- Files:
-
- 1 modified
-
trunk/framework/Data/TDataSourceConfig.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/framework/Data/TDataSourceConfig.php
r1596 r1752 10 10 * @package System.Data 11 11 */ 12 13 Prado::using('System.Data.TDbConnection'); 12 14 13 15 /** … … 47 49 class TDataSourceConfig extends TModule 48 50 { 49 private $_connID ;51 private $_connID=''; 50 52 private $_conn; 51 53 private $_connClass='System.Data.TDbConnection'; … … 92 94 public function getDbConnection() 93 95 { 94 if( is_null($this->_conn))96 if($this->_conn===null) 95 97 { 96 if( !is_null($this->_connID))98 if($this->_connID!=='') 97 99 $this->_conn = $this->findConnectionByID($this->getConnectionID()); 98 100 else
