Skip to content

Commit fb0ede1

Browse files
committed
fix: set deprecated properties for backward compatibility
1 parent 8038b15 commit fb0ede1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

system/Debug/Exceptions.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ class Exceptions
7575
*/
7676
public function __construct(ExceptionsConfig $config, $request, ResponseInterface $response)
7777
{
78+
// For backward compatibility
79+
$this->ob_level = ob_get_level();
80+
$this->viewPath = rtrim($config->errorViewPath, '\\/ ') . DIRECTORY_SEPARATOR;
81+
7882
$this->config = $config;
7983
$this->request = $request;
8084
$this->response = $response;

0 commit comments

Comments
 (0)