Subversion-Projekte lars-tiefland.laravel_shop

Revision

Revision 1146 | Revision 1167 | Zur aktuellen Revision | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 1146 Revision 1148
Zeile 69... Zeile 69...
69
    if ( file_exists( $_SERVER["DOCUMENT_ROOT"] . "/css/" . $site . "_new/images/loading.gif" ) )
69
    if ( file_exists( $_SERVER["DOCUMENT_ROOT"] . "/css/" . $site . "_new/images/loading.gif" ) )
70
    {
70
    {
71
        $_SESSION["loadingGif"] = "/css/" . $site . "_new/images/loading.gif";
71
        $_SESSION["loadingGif"] = "/css/" . $site . "_new/images/loading.gif";
72
    }*/
72
    }*/
Zeile 73... Zeile 73...
73
 
73
 
74
    Route::get( '/backend/login', [ BackendController::class, 'create' ] )->name( 'login' );
74
    Route::get( '/login', [ BackendController::class, 'create' ] )->name( 'login' );
75
    Route::post( '/backend/login', [ BackendController::class, 'store' ] );
75
    Route::post( '/login', [ BackendController::class, 'store' ] );
76
    Route::middleware( 'auth:admin' )->group( function ()
76
    Route::middleware( 'auth:admin' )->group( function ()
77
    {
77
    {
78
        Route::get( '/logout', [ BackendController::class, 'destroy' ] )->name( 'logout' );
78
        Route::get( '/logout', [ BackendController::class, 'destroy' ] )->name( 'logout' );
79
        Route::prefix( "/toolbox" )->group( function ()
79
        Route::prefix( "/toolbox" )->group( function ()