<?php
/**
 * [WeEngine System] Copyright (c) 2014 W7.CC
 * WeEngine is NOT a free software, it under the license terms, visited http://www.w7.cc/ for more details.
 */
defined('IN_IA') or exit('Access Denied');
if (in_array($action, array('registerset', 'agreement'))) {
	define('FRAME', 'site');
}
if (in_array($action, array('display', 'expire', 'fields', 'edit', 'create', 'save', 'get_user_group_detail_info'))) {
	define('FRAME', 'user_manage');
}
if (in_array($action, array('group', 'create-group'))) {
	define('FRAME', 'permission');
}
if (in_array($action, array('profile'))) {
	define('FRAME', 'myself');
}
