__init.php 619 B

123456789101112131415161718
  1. <?php
  2. /**
  3. * [WeEngine System] Copyright (c) 2014 WE7.CC
  4. * WeEngine is NOT a free software, it under the license terms, visited http://www.we7.cc/ for more details.
  5. */
  6. defined('IN_IA') or exit('Access Denied');
  7. if (in_array($action, array('registerset', 'agreement'))) {
  8. define('FRAME', 'site');
  9. }
  10. if (in_array($action, array('display', 'expire', 'fields', 'edit', 'create', 'save', 'get_user_group_detail_info'))) {
  11. define('FRAME', 'user_manage');
  12. }
  13. if (in_array($action, array('group', 'create-group'))) {
  14. define('FRAME', 'permission');
  15. }
  16. if (in_array($action, array('profile'))) {
  17. define('FRAME', 'myself');
  18. }