21 lines
740 B
PHP
21 lines
740 B
PHP
<?php
|
|
|
|
use App\Http\Controllers\Auth\AuthenticationController;
|
|
use App\Http\Controllers\WebsiteController;
|
|
use Illuminate\Support\Facades\Route;
|
|
|
|
$ccms = new CCMS();
|
|
define('SITEVARS', CCMS::getSiteVars());
|
|
|
|
Route::get('/userlogin',[AuthenticationController::class, 'login'])->name("userLogin");
|
|
|
|
Route::post('/postlogin',[AuthenticationController::class, 'authenticate'])->name("postLogin");
|
|
|
|
Route::get('/userregister',[AuthenticationController::class,'register'])->name("userRegister");
|
|
|
|
Route::post('/postresgistration',[AuthenticationController::class,'store'])->name("postresgistration");
|
|
|
|
|
|
Route::get('/', [WebsiteController::class, 'home'])->name("home");
|
|
Route::get('/single',[WebsiteController::class, 'single'])->name("single");
|