Subversion-Projekte lars-tiefland.webanos.faltradxxs.de

Revision

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

Revision 7 Revision 23
Zeile 1... Zeile 1...
1
<?php
1
<?php
Zeile 2... Zeile 2...
2
 
2
 
3
    use App\Http\Controllers\BackendController;
3
    use App\Http\Controllers\BackendController;
4
    use Illuminate\Support\Facades\DB;
4
    use Illuminate\Support\Facades\DB;
5
    use Illuminate\Support\Facades\Schema;
-
 
6
    use PHPHtmlParser\Dom;
5
    use Illuminate\Support\Facades\Schema;
7
    use Illuminate\Support\Facades\Route;
-
 
8
    use PHPHtmlParser\Exceptions\ChildNotFoundException;
-
 
9
    use PHPHtmlParser\Exceptions\CircularException;
-
 
10
    use PHPHtmlParser\Exceptions\CurlException;
-
 
11
    use PHPHtmlParser\Exceptions\NotLoadedException;
-
 
Zeile 12... Zeile 6...
12
    use PHPHtmlParser\Exceptions\StrictException;
6
    use Illuminate\Support\Facades\Route;
13
 
7
 
14
    /*
8
    /*
15
    |--------------------------------------------------------------------------
9
    |--------------------------------------------------------------------------
Zeile 20... Zeile 14...
20
    | routes are loaded by the RouteServiceProvider within a group which
14
    | routes are loaded by the RouteServiceProvider within a group which
21
    | contains the "web" middleware group. Now create something great!
15
    | contains the "web" middleware group. Now create something great!
22
    |
16
    |
23
     */
17
     */
Zeile 24... Zeile 18...
24
 
18
 
25
    $GLOBALS["INI"] = getConfig();
19
    //$GLOBALS["INI"] = getConfig();
26
    session_start();
20
    session_start();
27
    Route::view( '/login', "login" )->name( 'login' );
21
    Route::view( '/login', "login" )->name( 'login' );
28
    Route::post( '/login', [ BackendController::class, 'store' ] );
22
    Route::post( '/login', [ BackendController::class, 'store' ] );
29
    Route::middleware( 'auth' )->group( function ()
23
    Route::middleware( 'auth' )->group( function ()