CodeIgniter Forums
application/Views/errors/html/error_exception.php - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forum-28.html)
+--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forum-30.html)
+--- Thread: application/Views/errors/html/error_exception.php (/thread-70081.html)



application/Views/errors/html/error_exception.php - donpwinston - 02-16-2018

In my Eclipse IDE application/Views/errors/html/error_exception.php is getting flagged as an error(2) because of a reference to \CodeIgniter\Services::request(null, true).

Shouldn't it be \Config\Services::request(null, true)   \Config\Services::response(null, true) ?


RE: application/Views/errors/html/error_exception.php - kilishan - 02-18-2018

Well, it's currently showing up as CodeIgniter\Config\Services::request which is perfectly valid. But, yes, it should probably point to the main Config\Services to allow for any user overrides.

Good catch. Thanks