Subversion-Projekte lars-tiefland.laravel_shop

Revision

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

Revision 1385 Revision 1386
Zeile 16... Zeile 16...
16
 
16
 
17
    $w = new Web();
17
    $w = new Web();
18
    $GLOBALS["web"] = $w->where( "domain", "=", env( 'shop' ) )->first();
18
    $GLOBALS["web"] = $w->where( "domain", "=", env( 'shop' ) )->first();
19
    if ( !file_exists( $_SERVER["DOCUMENT_ROOT"] . "/public/styles/" . $GLOBALS["web"]["domain"] . "_styles.css" ) )
19
    if ( !file_exists( $_SERVER["DOCUMENT_ROOT"] . "/public/styles/" . $GLOBALS["web"]["domain"] . "_styles.css" ) )
20
    {
20
    {
21
        require_once $_SERVER["DOCUMENT_ROOT"] . "/public/styles/" . $GLOBALS["web"]["domain"] . "_styles.php";
21
        require_once $_SERVER["DOCUMENT_ROOT"] . "/styles/styles.php";
22
    }
22
    }
23
    \View::share( "webs", $GLOBALS["web"] );
23
    \View::share( "webs", $GLOBALS["web"] );
24
    $_SESSION["loadingGif"] = "/images/navigation/loading.gif";
24
    $_SESSION["loadingGif"] = "/images/navigation/loading.gif";
25
    if ( file_exists( $_SERVER["DOCUMENT_ROOT"] . "/images/webelemente/loading.gif" ) )
25
    if ( file_exists( $_SERVER["DOCUMENT_ROOT"] . "/images/webelemente/loading.gif" ) )