mirror of
				https://github.com/pelican-dev/panel.git
				synced 2025-10-31 21:46:51 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			35 lines
		
	
	
		
			780 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			35 lines
		
	
	
		
			780 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| 
 | |
| namespace Pterodactyl\Http\Controllers\Base;
 | |
| 
 | |
| use Pterodactyl\Http\Controllers\Controller;
 | |
| use Pterodactyl\Contracts\Repository\ServerRepositoryInterface;
 | |
| 
 | |
| class IndexController extends Controller
 | |
| {
 | |
|     /**
 | |
|      * @var \Pterodactyl\Contracts\Repository\ServerRepositoryInterface
 | |
|      */
 | |
|     protected $repository;
 | |
| 
 | |
|     /**
 | |
|      * IndexController constructor.
 | |
|      *
 | |
|      * @param \Pterodactyl\Contracts\Repository\ServerRepositoryInterface $repository
 | |
|      */
 | |
|     public function __construct(ServerRepositoryInterface $repository)
 | |
|     {
 | |
|         $this->repository = $repository;
 | |
|     }
 | |
| 
 | |
|     /**
 | |
|      * Returns listing of user's servers.
 | |
|      *
 | |
|      * @return \Illuminate\View\View
 | |
|      */
 | |
|     public function index()
 | |
|     {
 | |
|         return view('templates/base.core');
 | |
|     }
 | |
| }
 | 
