thebadspace/app/Http/Controllers/FrontIndexController.php
Ro 14af284103
Implemented Custom Auth Framework
Rebuilt member authorization and session handling within Laravel's
envirnoment. Sticking with bcrypt encryption for passwords to make the
transistion simple.
2023-08-15 14:05:51 -07:00

22 lines
434 B
PHP

<?php
namespace App\Http\Controllers;
use Illuminate\Support\Facades\DB;
use App\Models\Location;
class FrontIndexController extends Controller
{
public function start()
{
$locations = Location::all();
$count = count($locations);
$terms = "no|agenda";
//$result = DB::select("SELECT * FROM searchlocations('$terms')");
return view('front.index', ['count' => $count]);
}
}