public static function show() { $msg = Config::get("maintenance.msg"); $bg_color = Config::get("maintenance.bg"); //include 'View.php'; View::make('maintenance.view', ['msg' => $msg, 'bg_color' => $bg_color]); }
/** * Views */ function view($value, $data = null) { return View::make($value, $data); }