Skip to content

Commit 4037d8b

Browse files
authored
Merge fix controller info with CI2 and CI3 compatible ways
get controller info with CI2 and CI3 compatible ways
2 parents 2d60f34 + f809d69 commit 4037d8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/Profiler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ protected function _compile_uri_string()
421421
*/
422422
protected function _compile_controller_info()
423423
{
424-
$output = $this->CI->router->fetch_class()."/".$this->CI->router->fetch_method();
424+
$output = $this->CI->router->class."/".$this->CI->router->method;
425425

426426
return $output;
427427
}

0 commit comments

Comments
 (0)