mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-29 12:16:04 +08:00
6e098905d4
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
|
|
{
|
|
}
|