ErrorException [ Notice ]: Undefined index: cfg_cmsurl

APPPATH/classes/Controller/Member/Index.php [ 15 ]

10     private $refer_url = null;
11 
12     public function before()
13     {
14         parent::before();
15         $this->refer_url = isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : $GLOBALS['cfg_cmsurl'];
16         $this->assign('backurl', $this->refer_url);
17         $this->mid = Cookie::get('st_userid') ? Cookie::get('st_userid') : 0; 
18         if (empty($this->mid) ) {
19             $this->redirect('member/login?mtype='.Arr::get($_GET, 'mtype', '') );
20         }
  1. APPPATH/classes/Controller/Member/Index.php [ 15 ] » Kohana_Core::error_handler(arguments)

  2. SYSPATH/classes/Kohana/Controller.php [ 69 ] » Controller_Member_Index->before()

  3. {PHP internal call} » Kohana_Controller->execute()

  4. SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)

  5. SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request(arguments)

  6. SYSPATH/classes/Kohana/Request.php [ 993 ] » Kohana_Request_Client->execute(arguments)

  7. DOCROOT/index.php [ 184 ] » Kohana_Request->execute()

Environment