{"id":3650,"date":"2021-07-27T12:19:00","date_gmt":"2021-07-27T12:19:00","guid":{"rendered":"https:\/\/www.bearloga.space\/?page_id=3650"},"modified":"2021-07-27T12:19:00","modified_gmt":"2021-07-27T12:19:00","slug":"codeigniter-obrabotka-oshibok","status":"publish","type":"page","link":"https:\/\/www.bearloga.space\/en\/codeigniter-obrabotka-oshibok\/","title":{"rendered":"CodeIgniter \u2014 \u041e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u043e\u0448\u0438\u0431\u043e\u043a"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u041c\u043d\u043e\u0433\u043e \u0440\u0430\u0437, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435, \u043c\u044b \u0441\u0442\u0430\u043b\u043a\u0438\u0432\u0430\u0435\u043c\u0441\u044f \u0441 \u043e\u0448\u0438\u0431\u043a\u0430\u043c\u0438.&nbsp;\u042d\u0442\u043e \u043e\u0447\u0435\u043d\u044c \u0440\u0430\u0437\u0434\u0440\u0430\u0436\u0430\u0435\u0442 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439, \u0435\u0441\u043b\u0438 \u043e\u0448\u0438\u0431\u043a\u0438 \u043d\u0435 \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u0434\u043e\u043b\u0436\u043d\u044b\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c.&nbsp;CodeIgniter \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u043e\u0448\u0438\u0431\u043e\u043a.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0412\u044b \u0445\u043e\u0442\u0435\u043b\u0438 \u0431\u044b, \u0447\u0442\u043e\u0431\u044b \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u043b\u0438\u0441\u044c, \u043a\u043e\u0433\u0434\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432 \u0440\u0435\u0436\u0438\u043c\u0435 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438, \u0430 \u043d\u0435 \u0432 \u0440\u0430\u0431\u043e\u0447\u0435\u043c \u0440\u0435\u0436\u0438\u043c\u0435, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043e\u0431 \u043e\u0448\u0438\u0431\u043a\u0430\u0445 \u043c\u043e\u0436\u043d\u043e \u043b\u0435\u0433\u043a\u043e \u0443\u0441\u0442\u0440\u0430\u043d\u0438\u0442\u044c \u043d\u0430 \u044d\u0442\u0430\u043f\u0435 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0421\u0440\u0435\u0434\u0443 \u0432\u0430\u0448\u0435\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043c\u043e\u0436\u043d\u043e \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c, \u0438\u0437\u043c\u0435\u043d\u0438\u0432 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u043d\u0443\u044e \u043d\u0438\u0436\u0435 \u0441\u0442\u0440\u043e\u043a\u0443 \u0438\u0437 \u0444\u0430\u0439\u043b\u0430&nbsp;<strong>index.php<\/strong>&nbsp;.&nbsp;\u042d\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043e \u043d\u0430 \u0447\u0442\u043e \u0443\u0433\u043e\u0434\u043d\u043e, \u043d\u043e \u043e\u0431\u044b\u0447\u043d\u043e \u0434\u043b\u044f \u044d\u0442\u043e\u0439 \u0446\u0435\u043b\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u0442\u0440\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f (\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0430, \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435, \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0441\u0442\u0432\u043e).<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">define('ENVIRONMENT', isset($_SERVER['CI_ENV']) ? $_SERVER['CI_ENV'] : 'development');\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0414\u043b\u044f \u0440\u0430\u0437\u043d\u044b\u0445 \u0441\u0440\u0435\u0434 \u0442\u0440\u0435\u0431\u0443\u044e\u0442\u0441\u044f \u0440\u0430\u0437\u043d\u044b\u0435 \u0443\u0440\u043e\u0432\u043d\u0438 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439 \u043e\u0431 \u043e\u0448\u0438\u0431\u043a\u0430\u0445.&nbsp;\u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0432 \u0440\u0435\u0436\u0438\u043c\u0435 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u044e\u0442\u0441\u044f \u043e\u0448\u0438\u0431\u043a\u0438, \u0430 \u0432 \u0440\u0435\u0436\u0438\u043c\u0435 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043e\u043d\u0438 \u0441\u043a\u0440\u044b\u0432\u0430\u044e\u0442\u0441\u044f.&nbsp;CodeIgniter \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0442\u0440\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u0438, \u043a\u0430\u043a \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u043e \u043d\u0438\u0436\u0435, \u0434\u043b\u044f \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u043e\u0448\u0438\u0431\u043e\u043a.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>\u0424\u0443\u043d\u043a\u0446\u0438\u044f show_error ()<\/strong>&nbsp;\u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442 \u043e\u0448\u0438\u0431\u043a\u0438 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 HTML \u0432 \u0432\u0435\u0440\u0445\u043d\u0435\u0439 \u0447\u0430\u0441\u0442\u0438 \u044d\u043a\u0440\u0430\u043d\u0430.<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u0424\u0443\u043d\u043a\u0446\u0438\u044f show_error ()<\/strong>&nbsp;\u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442 \u043e\u0448\u0438\u0431\u043a\u0438 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 HTML \u0432 \u0432\u0435\u0440\u0445\u043d\u0435\u0439 \u0447\u0430\u0441\u0442\u0438 \u044d\u043a\u0440\u0430\u043d\u0430.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>\u0421\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441<\/strong><\/td><td>show_error (&nbsp;<em>$ message, $ status_code, $ heading = \u2018\u041e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d\u0430 \u043e\u0448\u0438\u0431\u043a\u0430\u2019<\/em>&nbsp;)<\/td><\/tr><tr><td><strong>\u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b<\/strong><\/td><td><strong>$ message<\/strong>&nbsp;(&nbsp;<em>mixed<\/em>&nbsp;) \u2014 \u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043e\u0431 \u043e\u0448\u0438\u0431\u043a\u0435<strong>$ status_code<\/strong>&nbsp;(&nbsp;<em>int<\/em>&nbsp;) \u2014 \u043a\u043e\u0434 \u0441\u0442\u0430\u0442\u0443\u0441\u0430 \u043e\u0442\u0432\u0435\u0442\u0430 HTTP<strong>$ heading<\/strong>&nbsp;(&nbsp;<em>string<\/em>&nbsp;) \u2014 \u041e\u0448\u0438\u0431\u043a\u0430 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b<\/td><\/tr><tr><td><strong>\u0422\u0438\u043f \u0432\u043e\u0437\u0432\u0440\u0430\u0442\u0430<\/strong><\/td><td>\u0441\u043c\u0435\u0448\u0430\u043d\u043d\u044b\u0439<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u0421\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>$ message<\/strong>&nbsp;(&nbsp;<em>mixed<\/em>&nbsp;) \u2014 \u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043e\u0431 \u043e\u0448\u0438\u0431\u043a\u0435<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>$ status_code<\/strong>&nbsp;(&nbsp;<em>int<\/em>&nbsp;) \u2014 \u043a\u043e\u0434 \u0441\u0442\u0430\u0442\u0443\u0441\u0430 \u043e\u0442\u0432\u0435\u0442\u0430 HTTP<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>$ heading<\/strong>&nbsp;(&nbsp;<em>string<\/em>&nbsp;) \u2014 \u041e\u0448\u0438\u0431\u043a\u0430 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u0422\u0438\u043f \u0432\u043e\u0437\u0432\u0440\u0430\u0442\u0430<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>\u0424\u0443\u043d\u043a\u0446\u0438\u044f show_404 ()<\/strong>&nbsp;\u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442 \u043e\u0448\u0438\u0431\u043a\u0443, \u0435\u0441\u043b\u0438 \u0432\u044b \u043f\u044b\u0442\u0430\u0435\u0442\u0435\u0441\u044c \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043d\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442.<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u0424\u0443\u043d\u043a\u0446\u0438\u044f show_404 ()<\/strong>\u00a0\u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442 \u043e\u0448\u0438\u0431\u043a\u0443, \u0435\u0441\u043b\u0438 \u0432\u044b \u043f\u044b\u0442\u0430\u0435\u0442\u0435\u0441\u044c \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043d\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>\u0421\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441<\/strong><\/td><td>show_404 (&nbsp;<em>$ page = \u00bb, $ log_error = TRUE<\/em>&nbsp;)<\/td><\/tr><tr><td><strong>\u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b<\/strong><\/td><td><strong>$ page<\/strong>&nbsp;(&nbsp;<em>string<\/em>&nbsp;) \u2014 \u0441\u0442\u0440\u043e\u043a\u0430 URI<strong>$ log_error<\/strong>&nbsp;(&nbsp;<em>bool<\/em>&nbsp;) \u2014 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043b\u0438 \u043e\u0448\u0438\u0431\u043a\u0443<\/td><\/tr><tr><td><strong>\u0422\u0438\u043f \u0432\u043e\u0437\u0432\u0440\u0430\u0442\u0430<\/strong><\/td><td>\u043d\u0435\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u043c<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u0421\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>$ page<\/strong>&nbsp;(&nbsp;<em>string<\/em>&nbsp;) \u2014 \u0441\u0442\u0440\u043e\u043a\u0430 URI<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>$ log_error<\/strong>&nbsp;(&nbsp;<em>bool<\/em>&nbsp;) \u2014 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043b\u0438 \u043e\u0448\u0438\u0431\u043a\u0443<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u0422\u0438\u043f \u0432\u043e\u0437\u0432\u0440\u0430\u0442\u0430<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>\u0424\u0443\u043d\u043a\u0446\u0438\u044f log_message ()<\/strong>&nbsp;\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u043b\u044f \u0437\u0430\u043f\u0438\u0441\u0438 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439 \u0436\u0443\u0440\u043d\u0430\u043b\u0430.&nbsp;\u042d\u0442\u043e \u043f\u043e\u043b\u0435\u0437\u043d\u043e, \u043a\u043e\u0433\u0434\u0430 \u0432\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f.<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u0424\u0443\u043d\u043a\u0446\u0438\u044f log_message ()<\/strong>&nbsp;\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u043b\u044f \u0437\u0430\u043f\u0438\u0441\u0438 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439 \u0436\u0443\u0440\u043d\u0430\u043b\u0430.&nbsp;\u042d\u0442\u043e \u043f\u043e\u043b\u0435\u0437\u043d\u043e, \u043a\u043e\u0433\u0434\u0430 \u0432\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>\u0421\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441<\/strong><\/td><td>log_message (&nbsp;<em>$ level, $ message, $ php_error = FALSE<\/em>&nbsp;)<\/td><\/tr><tr><td><strong>\u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b<\/strong><\/td><td><strong>$ level<\/strong>&nbsp;(&nbsp;<em>string<\/em>&nbsp;) \u2014 \u0423\u0440\u043e\u0432\u0435\u043d\u044c \u0436\u0443\u0440\u043d\u0430\u043b\u0430: \u00ab\u043e\u0448\u0438\u0431\u043a\u0430\u00bb, \u00ab\u043e\u0442\u043b\u0430\u0434\u043a\u0430\u00bb \u0438\u043b\u0438 \u00ab\u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f\u00bb<strong>$ message<\/strong>&nbsp;(&nbsp;<em>string<\/em>&nbsp;) \u2014 \u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u0434\u043b\u044f \u0432\u0445\u043e\u0434\u0430<strong>$ php_error<\/strong>&nbsp;(&nbsp;<em>bool<\/em>&nbsp;) \u2014 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u0443\u0435\u043c \u043b\u0438 \u043c\u044b \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043e\u0431 \u043e\u0448\u0438\u0431\u043a\u0435 PHP<\/td><\/tr><tr><td><strong>\u0422\u0438\u043f \u0432\u043e\u0437\u0432\u0440\u0430\u0442\u0430<\/strong><\/td><td>\u043d\u0435\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u043c<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u0421\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>$ level<\/strong>&nbsp;(&nbsp;<em>string<\/em>&nbsp;) \u2014 \u0423\u0440\u043e\u0432\u0435\u043d\u044c \u0436\u0443\u0440\u043d\u0430\u043b\u0430: \u00ab\u043e\u0448\u0438\u0431\u043a\u0430\u00bb, \u00ab\u043e\u0442\u043b\u0430\u0434\u043a\u0430\u00bb \u0438\u043b\u0438 \u00ab\u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f\u00bb<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>$ message<\/strong>&nbsp;(&nbsp;<em>string<\/em>&nbsp;) \u2014 \u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u0434\u043b\u044f \u0432\u0445\u043e\u0434\u0430<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>$ php_error<\/strong>&nbsp;(&nbsp;<em>bool<\/em>&nbsp;) \u2014 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u0443\u0435\u043c \u043b\u0438 \u043c\u044b \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043e\u0431 \u043e\u0448\u0438\u0431\u043a\u0435 PHP<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u0422\u0438\u043f \u0432\u043e\u0437\u0432\u0440\u0430\u0442\u0430<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0412\u0435\u0434\u0435\u043d\u0438\u0435 \u0436\u0443\u0440\u043d\u0430\u043b\u0430 \u043c\u043e\u0436\u043d\u043e \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0432 \u0444\u0430\u0439\u043b\u0435&nbsp;<strong>application \/ config \/ config.php<\/strong>&nbsp;.&nbsp;\u041d\u0438\u0436\u0435 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d \u0441\u043a\u0440\u0438\u043d\u0448\u043e\u0442 \u0444\u0430\u0439\u043b\u0430 config.php, \u0433\u0434\u0435 \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043f\u043e\u0440\u043e\u0433\u043e\u0432\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\/*\n|--------------------------------------------------------------------------------\n|   Error Logging Threshold\n|--------------------------------------------------------------------------------\n| You can enable error logging by setting a threshold over zero. The \n| threshold determines what gets logged. Threshold options are:\n|\n|   0 = Disable logging, Error logging TURNED OFF\n|   1 = Error Message (including PHP errors)\n|   2 = Debug Message\n|   3 = Informational Messages\n|   4 = All Messages\n|\n| You can also pass an array with threshold levels to show individual error types\n|\n|   array(2) = Debug Message, without Error Messages\n| For a live site you'll usually only enable Errors (1) to be logged otherwise \n| your log files will fill up very fast.\n|\n*\/\n$config['log_threshold'] = 0;<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043d\u0430\u0439\u0442\u0438 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0436\u0443\u0440\u043d\u0430\u043b\u0430 \u0432&nbsp;<strong>\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438 \/ log \/<\/strong>&nbsp;.&nbsp;\u0423\u0431\u0435\u0434\u0438\u0442\u0435\u0441\u044c, \u0447\u0442\u043e \u044d\u0442\u043e\u0442 \u043a\u0430\u0442\u0430\u043b\u043e\u0433 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u0434\u043b\u044f \u0437\u0430\u043f\u0438\u0441\u0438, \u043f\u0440\u0435\u0436\u0434\u0435 \u0447\u0435\u043c \u0432\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u0444\u0430\u0439\u043b\u044b \u0436\u0443\u0440\u043d\u0430\u043b\u0430.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0420\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 \u0448\u0430\u0431\u043b\u043e\u043d\u044b \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439 \u043e\u0431 \u043e\u0448\u0438\u0431\u043a\u0430\u0445 \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 \u0432&nbsp;<strong>\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438 \/ views \/ errors \/ cli<\/strong>&nbsp;\u0438\u043b\u0438&nbsp;<strong>application \/ views \/ errors \/ html<\/strong>&nbsp;.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041c\u043d\u043e\u0433\u043e \u0440\u0430\u0437, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435, \u043c\u044b \u0441\u0442\u0430\u043b\u043a\u0438\u0432\u0430\u0435\u043c\u0441\u044f \u0441 \u043e\u0448\u0438\u0431\u043a\u0430\u043c\u0438.&nbsp;\u042d\u0442\u043e \u043e\u0447\u0435\u043d\u044c \u0440\u0430\u0437\u0434\u0440\u0430\u0436\u0430\u0435\u0442 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439, \u0435\u0441\u043b\u0438 \u043e\u0448\u0438\u0431\u043a\u0438 \u043d\u0435 \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u0434\u043e\u043b\u0436\u043d\u044b\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c.&nbsp;CodeIgniter \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"categories":[119],"tags":[],"class_list":["post-3650","page","type-page","status-publish","hentry","category-codeigniter"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.bearloga.space\/en\/wp-json\/wp\/v2\/pages\/3650","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bearloga.space\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.bearloga.space\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.bearloga.space\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bearloga.space\/en\/wp-json\/wp\/v2\/comments?post=3650"}],"version-history":[{"count":0,"href":"https:\/\/www.bearloga.space\/en\/wp-json\/wp\/v2\/pages\/3650\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.bearloga.space\/en\/wp-json\/wp\/v2\/media?parent=3650"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bearloga.space\/en\/wp-json\/wp\/v2\/categories?post=3650"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bearloga.space\/en\/wp-json\/wp\/v2\/tags?post=3650"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}