mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-10-31 02:36:28 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			29 lines
		
	
	
		
			462 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			462 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| 
 | |
| /**
 | |
|  * Class BaseController
 | |
|  */
 | |
| class BaseController extends Controller
 | |
| {
 | |
| 
 | |
|     /**
 | |
|      *
 | |
|      */
 | |
|     public function __construct() {
 | |
|         parent::__construct();
 | |
|         Event::fire('limits.check');
 | |
|     }
 | |
|     /**
 | |
|      * Setup the layout used by the controller.
 | |
|      *
 | |
|      * @return void
 | |
|      */
 | |
|     protected function setupLayout()
 | |
|     {
 | |
|         if (!is_null($this->layout)) {
 | |
|             $this->layout = View::make($this->layout);
 | |
|         }
 | |
|     }
 | |
| 
 | |
| }
 |