equal
deleted
inserted
replaced
33 */ |
33 */ |
34 public function index() |
34 public function index() |
35 { |
35 { |
36 $pt="Error getting PT"; |
36 $pt="Error getting PT"; |
37 $pt=phpCAS::retrievePT(env("LDT_URL")."/remie/workunit/segments_single?project_id=".env("TEST_PROJECT_ID"), $err_code, $err_msg); |
37 $pt=phpCAS::retrievePT(env("LDT_URL")."/remie/workunit/segments_single?project_id=".env("TEST_PROJECT_ID"), $err_code, $err_msg); |
38 $iframe_url=env("LDT_URL")."/remie/workunit/segments_single?project_id=".env("TEST_PROJECT_ID")."&casticket=".$pt; |
38 $iframe_url=env("LDT_URL")."/remie/workunit/segments_single?project_id=".env("TEST_PROJECT_ID"); |
39 |
39 |
40 $loginUrl=env("LDT_URL")."/accounts/cas/login"; |
40 $loginUrl=env("LDT_URL")."/accounts/cas/login"; |
41 |
41 |
42 return view('home')->with( |
42 return view('home')->with( |
43 array("pt" => $pt, "err_code" => $err_code, "err_msg" => $err_msg, "iframe_url" => $iframe_url, 'loginUrl' => $loginUrl) |
43 array("pt" => $pt, "err_code" => $err_code, "err_msg" => $err_msg, "iframe_url" => $iframe_url, 'loginUrl' => $loginUrl) |