diff --git a/src/Http/Controllers/LegacyController.php b/src/Http/Controllers/LegacyController.php index f66ef18..098e688 100644 --- a/src/Http/Controllers/LegacyController.php +++ b/src/Http/Controllers/LegacyController.php @@ -24,14 +24,14 @@ public function __invoke(Request $request, $file) $file = base_path(config('legacy-loader.file_path') . $this->getCleanPath($request->path())); - if (!str_contains($request->path(), '.php')) { + if (! str_contains($request->path(), '.php')) { $file = str_replace(['.html', '.php', '.txt'], '', $file) . '.php'; } if (file_exists($file)) { // ob_start(); require_once($file); - // return new Response(ob_get_clean()); + // return new Response(ob_get_clean()); } else { /**