mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-02-10 14:49:46 +08:00
![Dan Brown](/assets/img/avatar_default.png)
This adds specific handling for functions.php error loading to re-throw errors wrapped in a more descriptive message, to make it clear the error is due to an issue in their functions.php file. Decided to throw and stop, rather than ignore & continue, to be on the safe side in the event auth-level (or other security level) customizations have been made via functions.php. Adds test to cover. Closes #4504
8 lines
84 B
PHP
8 lines
84 B
PHP
<?php
|
|
|
|
namespace BookStack\Exceptions;
|
|
|
|
class ThemeException extends \Exception
|
|
{
|
|
}
|