참조 : https://www.xpressengine.com/qna/22514348
$tpl_path 사용하기
$oContext = &Context::getInstance(); $oContext->init(); $tpl_path = Context::get('tpl_path'); print_r($tpl_path);
$layout_info 사용하기
$oContext = &Context::getInstance(); $oContext->init(); $layout_info = Context::get('layout_info'); print_r($layout_info); print_r($layout_info->path);