From d1c898f3c63d73a320ccf90ad9c8a8af88cfac5e Mon Sep 17 00:00:00 2001 From: bangnokia Date: Sun, 24 Mar 2024 06:52:39 +0700 Subject: [PATCH] wip --- app/ContentFinder.php | 2 +- app/HttpKernel.php | 2 -- config/app.php | 5 +++-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/app/ContentFinder.php b/app/ContentFinder.php index a3e2c46..0c111e7 100644 --- a/app/ContentFinder.php +++ b/app/ContentFinder.php @@ -73,7 +73,7 @@ public function index(string $directory = ''): array if ($file->isDir()) { continue; } - file_get_contents('https://ping2.me/@daudau/debug?message=building___' . $file->getRealPath()); +// file_get_contents('https://ping2.me/@daudau/debug?message=building___' . $file->getRealPath()); $posts[] = $this->get($file->getRealPath(), true); } diff --git a/app/HttpKernel.php b/app/HttpKernel.php index 45f2e4a..e65cb97 100644 --- a/app/HttpKernel.php +++ b/app/HttpKernel.php @@ -4,8 +4,6 @@ use Illuminate\Contracts\Foundation\Application; -//use Illuminate\Foundation\Http\Kernel; -use BangNokia\Lina\Router; use Illuminate\Contracts\Http\Kernel; class HttpKernel implements Kernel diff --git a/config/app.php b/config/app.php index dc65df4..14a5b3c 100644 --- a/config/app.php +++ b/config/app.php @@ -13,7 +13,7 @@ | */ - 'name' => 'Pekyll', + 'name' => 'Pekyll', /* |-------------------------------------------------------------------------- @@ -26,7 +26,8 @@ | */ - 'version' => app()->runningInConsole() ? app('git.version') : '1.0.0', +// 'version' => app()->runningInConsole() ? app('git.version') : '1.0.0', + 'version' => '1.0.0', /* |--------------------------------------------------------------------------