git-svn-id: http://xe-core.googlecode.com/svn/trunk@1321 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-04-25 06:12:36 +00:00
parent 75e7e9bfc0
commit 66f34595e2
11 changed files with 99 additions and 4 deletions

View file

@ -102,6 +102,9 @@
}
}
$layout_file = sprintf('./files/cache/layout/%d.html', $layout_srl);
if(file_exists($layout_file)) @unlink($layout_file);
// 레이아웃 삭제
$args->layout_srl = $layout_srl;
@ -129,5 +132,18 @@
$this->setMessage('success_updated');
}
/**
* @brief 레이아웃 코드 초기화
**/
function procLayoutAdminCodeReset() {
$layout_srl = Context::get('layout_srl');
if(!$layout_srl) return new Object(-1, 'msg_invalid_request');
$layout_file = sprintf('./files/cache/layout/%d.html', $layout_srl);
@unlink($layout_file);
$this->setMessage('success_reset');
}
}
?>