backguard compat with CI3 using errors from views directory * move errors from application to application/views * make symlinks to be compatible with CI3
| ... | ... | @@ -143,7 +143,7 @@ class CI_Exceptions { |
| 143 | 143 | ob_end_flush();
|
| 144 | 144 | }
|
| 145 | 145 | ob_start();
|
| 146 | - include(APPPATH.'errors/'.$template.'.php');
|
|
| 146 | + include(APPPATH.'views/errors/html/'.$template.'.php');
|
|
| 147 | 147 | $buffer = ob_get_contents();
|
| 148 | 148 | ob_end_clean();
|
| 149 | 149 | return $buffer;
|
| ... | ... | @@ -179,7 +179,7 @@ class CI_Exceptions { |
| 179 | 179 | ob_end_flush();
|
| 180 | 180 | }
|
| 181 | 181 | ob_start();
|
| 182 | - include(APPPATH.'errors/error_php.php');
|
|
| 182 | + include(APPPATH.'views/errors/cli/error_php.php');
|
|
| 183 | 183 | $buffer = ob_get_contents();
|
| 184 | 184 | ob_end_clean();
|
| 185 | 185 | echo $buffer;
|
| 1 | +/home/general/Devel/codeigniter-applicants/vendor/codeigniter2/appweb/views/errors |
|
| \ No newline at end of file |
| 1 | +. |
|
| \ No newline at end of file |
| 1 | +. |
|
| \ No newline at end of file |
—
View it on GitLab.
You're receiving this email because of your account on gitlab.com. Manage all notifications · Help