Changeset 279 for trunk/lib/MCVE.inc.php
- Timestamp:
- Aug 17, 2007 8:10:05 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/MCVE.inc.php
r268 r279 95 95 if (!MCVE_Connect($this->conn)) { 96 96 $error = MCVE_ConnectionError($this->conn); 97 $app->logMsg(" Connection failed:$error. Are you sure the MCVE engine is running?", LOG_ERR, __FILE__, __LINE__);97 $app->logMsg("$error. Are you sure the MCVE engine is running?", LOG_ERR, __FILE__, __LINE__); 98 98 return false; 99 99 } … … 105 105 function beginTrans() 106 106 { 107 $this->_connect(); 107 if (!$this->_connect()) { 108 return false; 109 } 108 110 $tid = MCVE_TransNew($this->conn); // Allocate memory for sending a transaction. 109 111 $this->transParam($tid, MC_USERNAME, $this->username);
Note: See TracChangeset
for help on using the changeset viewer.