mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-09 12:02:24 +09:00
r7849 rollback
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7851 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
176f66d88b
commit
7c720fb3af
4 changed files with 4 additions and 12 deletions
|
|
@ -309,7 +309,7 @@
|
||||||
if(!file_exists($cache_file)) return new Object(-1, 'msg_invalid_queryid');
|
if(!file_exists($cache_file)) return new Object(-1, 'msg_invalid_queryid');
|
||||||
|
|
||||||
if($source_args) $args = @clone($source_args);
|
if($source_args) $args = @clone($source_args);
|
||||||
$this->source_args = $args;
|
|
||||||
$output = @include($cache_file);
|
$output = @include($cache_file);
|
||||||
|
|
||||||
if( (is_a($output, 'Object') || is_subclass_of($output, 'Object')) && !$output->toBool()) return $output;
|
if( (is_a($output, 'Object') || is_subclass_of($output, 'Object')) && !$output->toBool()) return $output;
|
||||||
|
|
|
||||||
|
|
@ -187,18 +187,13 @@
|
||||||
|
|
||||||
// 쿼리 문 실행
|
// 쿼리 문 실행
|
||||||
$result = @cubrid_execute ($this->fd, $query);
|
$result = @cubrid_execute ($this->fd, $query);
|
||||||
if(!$result){
|
//if(!$result){ debugPrint('result null: ' .$query); }
|
||||||
|
|
||||||
debugPrint('result null: ' .$query);
|
|
||||||
debugPrint($this->source_args);
|
|
||||||
}
|
|
||||||
// 오류 체크
|
// 오류 체크
|
||||||
if (cubrid_error_code ()) {
|
if (cubrid_error_code ()) {
|
||||||
$code = cubrid_error_code ();
|
$code = cubrid_error_code ();
|
||||||
$msg = cubrid_error_msg ();
|
$msg = cubrid_error_msg ();
|
||||||
|
|
||||||
debugPrint('query error : '. $code.', msg:'. $msg .', ' .$query);
|
//debugPrint('query error : '. $code.', msg:'. $msg .', ' .$query);
|
||||||
debugPrint($this->source_args);
|
|
||||||
$this->setError ($code, $msg);
|
$this->setError ($code, $msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
if(!in_array($_SERVER['REMOTE_ADDR'], array('119.205.243.47','119.205.243.46','111.91.137.60','10.64.86.68','10.64.176.52'))) {
|
|
||||||
// header('location: ./work.html'); exit;
|
|
||||||
}
|
|
||||||
/**
|
/**
|
||||||
* @file index.php
|
* @file index.php
|
||||||
* @author NHN (developers@xpressengine.com)
|
* @author NHN (developers@xpressengine.com)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue