Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
inmanturbo authored and actions-user committed Jul 12, 2021
1 parent 0c4bb92 commit 159a131
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Http/Controllers/LegacyController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 {

/**
Expand Down

0 comments on commit 159a131

Please sign in to comment.