Created
June 11, 2020 15:20
-
-
Save cijagani/c2beffdc368f28e43d30281e05fbc5dc to your computer and use it in GitHub Desktop.
track : 404 Page Not Found: /index
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** filename: App_log.php | |
* put this file in Codeigniter Core folder | |
*/ | |
class App_Log extends CI_Log | |
{ | |
function __construct() | |
{ | |
parent::__construct(); | |
} | |
function write_log($level = 'error', $msg, $php_error = FALSE) | |
{ | |
$url = $_SERVER['REQUEST_URI']; | |
$msg = $msg." | url : ".$url; | |
parent::write_log($level,$msg,$php_error); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment