Subversion-Projekte lars-tiefland.laravel_shop

Revision

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

Revision 875 Revision 890
Zeile 255... Zeile 255...
255
    } );
255
    } );
256
    Route::get( "/register", function ()
256
    Route::get( "/register", function ()
257
    {
257
    {
258
        return view( 'login_center' );
258
        return view( 'login_center' );
259
    } );
259
    } );
260
    Route::get("/update_versand",[ ShippingController::class, "updateShipping"]);
260
    Route::get( "/update_versand", [ ShippingController::class, "updateShipping" ] );
-
 
261
    Route::get( "/checkLand", function ()
-
 
262
    {
-
 
263
        $_SESSION['SHOP']["BASKET"]->getShippingCountries();
-
 
264
        $valid = 1;
-
 
265
        if ( !in_array( $_GET["Land"], array_keys( $_SESSION["SHOP"]["BASKET"]->shippingCountries ) ) )
-
 
266
        {
-
 
267
            $valid = 0;
-
 
268
        }
-
 
269
        return $valid;
-
 
270
    } );
261
    Route::get( '/setSessionVars', function ()
271
    Route::get( '/setSessionVars', function ()
262
    {
272
    {
263
        foreach ( $_GET as $key => $value )
273
        foreach ( $_GET as $key => $value )
264
        {
274
        {
265
            if ( $value == "false" )
275
            if ( $value == "false" )