mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@979 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
2a9f617e1b
commit
959560097b
6 changed files with 128 additions and 19 deletions
|
|
@ -87,7 +87,7 @@
|
|||
* @brief 롤백
|
||||
**/
|
||||
function rollback() {
|
||||
if(!$this->is_connected || $this->transaction_started) return;
|
||||
if(!$this->is_connected || !$this->transaction_started) return;
|
||||
$this->_query("ROLLBACK;");
|
||||
$this->transaction_started = false;
|
||||
}
|
||||
|
|
@ -96,7 +96,7 @@
|
|||
* @brief 커밋
|
||||
**/
|
||||
function commit() {
|
||||
if(!$this->is_connected || $this->transaction_started) return;
|
||||
if(!$this->is_connected || !$this->transaction_started) return;
|
||||
$this->_query("COMMIT;");
|
||||
$this->transaction_started = false;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -93,7 +93,7 @@
|
|||
* @brief 롤백
|
||||
**/
|
||||
function rollback() {
|
||||
if(!$this->is_connected || $this->transaction_started) return;
|
||||
if(!$this->is_connected || !$this->transaction_started) return;
|
||||
$this->handler->rollBack();
|
||||
$this->transaction_started = false;
|
||||
}
|
||||
|
|
@ -102,7 +102,7 @@
|
|||
* @brief 커밋
|
||||
**/
|
||||
function commit() {
|
||||
if(!$this->is_connected || $this->transaction_started) return;
|
||||
if(!$this->is_connected || !$this->transaction_started) return;
|
||||
$this->handler->commit();
|
||||
$this->transaction_started = false;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -54,10 +54,10 @@
|
|||
|
||||
// 컨텐츠 출력
|
||||
if(Context::getResponseMethod()!="XMLRPC") {
|
||||
ini_set('zlib.output_compression_level',3);
|
||||
ob_start('ob_gzhandler');
|
||||
//ini_set('zlib.output_compression_level',3);
|
||||
//ob_start('ob_gzhandler');
|
||||
print trim($output);
|
||||
ob_end_flush();
|
||||
//ob_end_flush();
|
||||
} else {
|
||||
print trim($output);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue