#278 debug 환경 개선.

- query 목록에 query id와 파일 및 메소드명 표시
- 실행 중 중단 시 중단 시점의 파일과 메소드명 표시
This commit is contained in:
bnu 2014-01-10 03:36:57 +09:00
parent 7845927721
commit 25ca3e1d14
6 changed files with 84 additions and 44 deletions

View file

@ -124,7 +124,7 @@ class moduleModel extends module
$site_info = $oCacheHandler->get($domain_cache_key);
}
if(!isset($site_info))
if(!$site_info)
{
$args = new stdClass();
$args->domain = $domain;
@ -132,6 +132,7 @@ class moduleModel extends module
$site_info = $output->data;
if($oCacheHandler->isSupport()) $oCacheHandler->put($domain_cache_key, $site_info);
}
if($site_info && $vid)
{
Context::set('vid', $site_info->domain, true);
@ -1343,7 +1344,7 @@ class moduleModel extends module
$args->site_srl = $site_srl;
$output = executeQuery('module.getModuleConfig', $args);
$config = unserialize($output->data->config);
if(!$config) $config = new stdClass;
//insert in cache
if($oCacheHandler->isSupport())
{