25 lines
421 B
PHP
25 lines
421 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers;
|
|
|
|
use App\Checks;
|
|
|
|
class LegacyController extends Controller
|
|
{
|
|
public function index($path = '')
|
|
{
|
|
Checks::postAuth();
|
|
|
|
ob_start();
|
|
include base_path('html/legacy_index.php');
|
|
$html = ob_get_clean();
|
|
|
|
return response($html);
|
|
}
|
|
|
|
public function api($path = '')
|
|
{
|
|
include base_path('html/legacy_api_v0.php');
|
|
}
|
|
}
|