Subversion-Projekte lars-tiefland.laravel_shop

Revision

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

Revision 1630 Revision 1631
Zeile 30... Zeile 30...
30
        {
30
        {
31
            $agencies = PriceAgency::where( 'shop_id', $GLOBALS["INI"]["shops_ID"] )->get();
31
            $agencies = PriceAgency::where( 'shop_id', $GLOBALS["INI"]["shops_ID"] )->get();
32
            foreach ( $agencies as $agency )
32
            foreach ( $agencies as $agency )
33
            {
33
            {
34
                $this->info( $agency["name"] );
34
                $this->info( $agency["name"] );
-
 
35
                if ( !$agency["config"] )
-
 
36
                {
-
 
37
                    $this->warn( "Agentur nicht komplett konfiguriert!" );
-
 
38
                }
35
                $configFile = storage_path( "config/" ) . $agency["config"];
39
                $configFile = storage_path( "config/" ) . $agency["config"];
36
                if ( file_exists( $configFile ) )
40
                if ( file_exists( $configFile ) )
37
                {
41
                {
38
                    require $configFile;
42
                    require $configFile;
39
                }
43
                }