2015-12-06 18:58:49 +00:00
|
|
|
<?php
|
2016-12-07 22:46:38 +00:00
|
|
|
|
2015-12-06 18:58:49 +00:00
|
|
|
namespace Pterodactyl\Http\Controllers\Base;
|
|
|
|
|
|
|
|
use Pterodactyl\Http\Controllers\Controller;
|
2017-08-31 03:14:20 +01:00
|
|
|
use Pterodactyl\Contracts\Repository\ServerRepositoryInterface;
|
2016-10-14 22:15:36 +01:00
|
|
|
|
2015-12-06 18:58:49 +00:00
|
|
|
class IndexController extends Controller
|
|
|
|
{
|
2017-08-31 03:11:14 +01:00
|
|
|
/**
|
|
|
|
* @var \Pterodactyl\Contracts\Repository\ServerRepositoryInterface
|
|
|
|
*/
|
|
|
|
protected $repository;
|
2017-04-01 18:14:49 +01:00
|
|
|
|
2017-08-31 03:11:14 +01:00
|
|
|
/**
|
|
|
|
* IndexController constructor.
|
|
|
|
*/
|
2019-08-18 00:03:10 +01:00
|
|
|
public function __construct(ServerRepositoryInterface $repository)
|
|
|
|
{
|
2017-08-31 03:11:14 +01:00
|
|
|
$this->repository = $repository;
|
2015-12-06 18:58:49 +00:00
|
|
|
}
|
|
|
|
|
2015-12-12 06:21:17 +00:00
|
|
|
/**
|
2017-08-31 03:11:14 +01:00
|
|
|
* Returns listing of user's servers.
|
2015-12-12 06:21:17 +00:00
|
|
|
*
|
2017-08-31 03:11:14 +01:00
|
|
|
* @return \Illuminate\View\View
|
2015-12-12 06:21:17 +00:00
|
|
|
*/
|
2020-07-07 05:25:00 +01:00
|
|
|
public function index()
|
2015-12-12 06:21:17 +00:00
|
|
|
{
|
2020-07-07 05:25:00 +01:00
|
|
|
return view('templates/base.core');
|
2015-12-12 06:21:17 +00:00
|
|
|
}
|
2015-12-06 18:58:49 +00:00
|
|
|
}
|