Subversion-Projekte lars-tiefland.laravel_shop

Revision

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

Revision 1088 Revision 1089
Zeile 11... Zeile 11...
11
 
11
 
12
    $w = new Web();
12
    $w = new Web();
13
    $GLOBALS["web"] = $w->where( "domain", "=", env( 'shop' ) )->first();
13
    $GLOBALS["web"] = $w->where( "domain", "=", env( 'shop' ) )->first();
14
    \View::share( "web", $GLOBALS["web"] );
14
    \View::share( "web", $GLOBALS["web"] );
-
 
15
    $webRechte = WebProperty::with( [ "property", "property.tool", "property.tool.module" ] )->where( "web_id", "=", $GLOBALS["web"]->ID )->get();
15
    $webRechte = WebProperty::with( [ "property", "property.tool", "property.tool.module" ] )->where( "web_id", "=", $GLOBALS["web"]->ID )->get();
16
    \View::share( "navi", $webRechte );
16
    foreach ( $webRechte as $web_recht )
17
    foreach ( $webRechte as $web_recht )
17
    {
18
    {
18
        $property = $web_recht->property;
19
        $property = $web_recht->property;
19
        $tool = $property->tool;
20
        $tool = $property->tool;