base.action.php 1.0 KB

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. // +----------------------------------------------------------------------
  3. // | FANWE 直播系统
  4. // +----------------------------------------------------------------------
  5. // | Copyright (c) 2011 http://www.fanwe.com All rights reserved.
  6. // +----------------------------------------------------------------------
  7. // | Author: 云淡风轻(1956838968@qq.com)
  8. // +----------------------------------------------------------------------
  9. class baseCModule extends baseModule
  10. {
  11. public static $lib='';
  12. var $t_user = array(
  13. 'id' => 101031
  14. );
  15. var $image_pay_type = array(
  16. 'red_photo','photo'
  17. );
  18. public function __construct()
  19. {
  20. parent::__construct();
  21. require_once APP_ROOT_PATH . 'mapi/lib/core/Model.class.php';
  22. fanwe_require(APP_ROOT_PATH.'mapi/xr/core/common.php');
  23. Model::$lib = dirname(__FILE__);
  24. if($_REQUEST['test']==1){
  25. if($_REQUEST['test']==1){
  26. $GLOBALS['user_info'] = $this->t_user;
  27. }
  28. }
  29. }
  30. }