where is the function _exception_handler writing to? |
I see:
PHP Code: $_error =& load_class('Exceptions', 'core');
proof that an old dog can learn new tricks
CodeIgniter puts these in the path you provide in config.php Specifically, at $config ['log_path']. By default that is application/logs/
|--------------------------------------------------------------------------
| Error Logging Directory Path |-------------------------------------------------------------------------- | | Leave this BLANK unless you would like to set something other than the default | application/logs/ directory. Use a full server path with trailing slash. | */ $config['log_path'] = ''; So mine is blank. But when I look in /application/logs/ I see a bunch of log files. The last one was written 2018-10-29. Can I hard code the path to be APPPATH.'logs/' ?
proof that an old dog can learn new tricks
/application/logs/ is the default path and APPPATH.'logs/' evaluates to that same path. But, yes, you can hardcode that if you want.
|
Welcome Guest, Not a member yet? Register Sign In |