mirror of
				https://github.com/BookStackApp/BookStack.git
				synced 2025-10-29 16:09:29 +03:00 
			
		
		
		
	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
 | |
| {
 | |
| }
 |