is('admin/auth/login') || $request->is('provider/auth/login')) && $request->isMethod('post')) { $response = $this->actch(); $data = json_decode($response->getContent(), true); if (!$data['active']) { return Redirect::away(base64_decode('aHR0cHM6Ly9hY3RpdmF0aW9uLjZhbXRlY2guY29t'))->send(); } } try { Config::set('default_pagination', 25); Paginator::useBootstrap(); foreach(Helpers::get_view_keys() as $key=>$value) { view()->share($key, $value); } } catch (\Exception $ex) { info($ex->getMessage()); } } }