From 7d31a7bc17b3f242a51e3000ee40426c1530d798 Mon Sep 17 00:00:00 2001 From: Andrea Pollastri <18210420+andreapollastri@users.noreply.github.com> Date: Sat, 11 Dec 2021 12:22:09 +0100 Subject: [PATCH] Not Configured Issue --- CHANGELOG.md | 5 +++++ routes/web.php | 2 +- storage/app/cipi/version.md | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d86025dc..91af3f59 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 (no unreleased versions) +## [3.1.9] - 2021-12-11 + +### Fixed +- Not Configured Domains Message + ## [3.1.8] - 2021-12-11 ### Added diff --git a/routes/web.php b/routes/web.php index caf42bbe..ecb0d76c 100644 --- a/routes/web.php +++ b/routes/web.php @@ -18,7 +18,7 @@ if (filter_var(request()->getHttpHost(), FILTER_VALIDATE_IP) || request()->getHttpHost() == \App\Models\Site::where(['panel' => 1])->pluck('domain')->first()) { return view('welcome'); } - return file_get_contents('/var/www/html/utility/zero-page/index.php'); + return 'Domain/Subdomain not configured on this Server!'; }); Route::get('/login', function () { diff --git a/storage/app/cipi/version.md b/storage/app/cipi/version.md index c848fb9c..7148b0a9 100644 --- a/storage/app/cipi/version.md +++ b/storage/app/cipi/version.md @@ -1 +1 @@ -3.1.8 +3.1.9