src/Maintenance/Maintenance.php
public static function launch()
    {
        if (static::check()) {
            clean();

            $view = config('maintenance.view');
            $view = str_replace('.', '/', $view).'.php';

            // $view = '../app/views/'.$view;
            $view = '../resources/views/'.$view;
            // d($view);:
            if (!file_exists($view)) {
                throw new \Exception('The view \''.config('maintenance.view').'\' not found');
            }

            include $view;

            out('');
        }
    }
public static function launch()
    {
        if (static::check()) {
            clean();

            $view = config('maintenance.view');
            $view = str_replace('.', '/', $view).'.php';

            // $view = '../app/views/'.$view;
            $view = '../resources/views/'.$view;
            // d($view);:
            if (!file_exists($view)) {
                throw new \Exception('The view \''.config('maintenance.view').'\' not found');
            }

            include $view;

            out('');
        }
    }
public static function launch ( ) { if ( static :: check ( ) ) { clean ( ) ; $ view = config ( 'maintenance.view' ) ; $ view = str_replace ( '.' , '/' , $ view ) . '.php' ; // $view = '../app/views/'.$view; $ view = '../resources/views/' . $ view ; // d($view);: if ( ! file_exists ( $ view ) ) { throw new \ Exception ( 'The view \'' . config ( 'maintenance.view' ) . '\' not found' ) ; } include $ view ; out ( '' ) ; } }
Launch maintenance view.

@return null
Launch maintenance view .