25 lines
475 B
PHP
25 lines
475 B
PHP
|
<?php
|
||
|
|
||
|
namespace App\Http\Controllers\GUI;
|
||
|
|
||
|
use App\Http\Controllers\Controller;
|
||
|
use App\Models\App;
|
||
|
use Illuminate\Support\Facades\Log;
|
||
|
|
||
|
class PublicController extends Controller
|
||
|
{
|
||
|
/**
|
||
|
* Create a new controller instance.
|
||
|
*
|
||
|
* @return void
|
||
|
*/
|
||
|
public function index()
|
||
|
{
|
||
|
$apps = App::query()->where("show_on_webpage", "=", 1)->get();
|
||
|
Log::debug("TEST");
|
||
|
return view('index', ["msg"=>"", "apps" => $apps]);
|
||
|
}
|
||
|
|
||
|
//
|
||
|
}
|