Subversion-Projekte lars-tiefland.laravel_shop

Revision

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

Revision 1158 Revision 1159
Zeile 9... Zeile 9...
9
            return view( "admin/toolbox/index" );
9
            return view( "admin/toolbox/index" );
10
        }
10
        }
Zeile 11... Zeile 11...
11
 
11
 
12
        public function changeShopVersion()
12
        public function changeShopVersion()
13
        {
13
        {
14
            $site = env('shop');
14
            $site = env( 'shop' );
15
            $site_full = "";
15
            $site_full = "";
16
            $webs = array();
16
            $webs = array();
17
            $servers = array();
17
            $servers = array();
18
            set_time_limit( 0 );
18
            set_time_limit( 0 );
Zeile 45... Zeile 45...
45
                    AND
45
                    AND
46
                        domain!='weban.de'
46
                        domain!='weban.de'
47
                    ORDER BY
47
                    ORDER BY
48
                        domain
48
                        domain
49
                ";
49
                ";
50
                $rows = DB::connection('cms')->select( $sql );
50
                $rows = DB::connection( 'cms' )->select( $sql );
51
                foreach($rows as $row)
51
                foreach ( $rows as $row )
52
                {
52
                {
53
                    $dokDomains[] = $row["dok_domain"];
53
                    $dokDomains[] = $row["dok_domain"];
54
                    $servers[] = $row["domain"];
54
                    $servers[] = $row["domain"];
55
                    $sshPorts[ $row["domain"] ] = $row["ssh_port"];
55
                    $sshPorts[ $row["domain"] ] = $row["ssh_port"];
56
                }
56
                }
Zeile 140... Zeile 140...
140
                    $ex = explode( "/", $version );
140
                    $ex = explode( "/", $version );
141
                    $shops[ $name ][ $dir ] = $this->getShopVer( $link, $ex );
141
                    $shops[ $name ][ $dir ] = $this->getShopVer( $link, $ex );
142
                }
142
                }
143
            }
143
            }
144
            ksort( $shops );
144
            ksort( $shops );
145
            $GLOBALS["ui"]->assign( "shops", $shops );
145
            \View::share( "shops", $shops );
146
            $GLOBALS["ui"]->assign( "versions", $versions );
146
            \View::share( "versions", $versions );
147
            $GLOBALS["ui"]->assign( "file", "common/changeShopVersion.tpl" );
147
            \View::share( "file", "common/changeShopVersion.tpl" );
148
            $GLOBALS["ui"]->display( "common/page.tpl" );
-
 
Zeile 149... Zeile 148...
149
 
148
 
150
            returnview( "admin/toolbox/changeShopVersion" );
149
            returnview( "admin/toolbox/changeShopVersion" );
Zeile 151... Zeile 150...
151
        }
150
        }