From f6a1e69f72c423a6ee5ac067bcba05f646845de1 Mon Sep 17 00:00:00 2001 From: Rodolfo Berrios <20590102+rodber@users.noreply.github.com> Date: Tue, 19 Oct 2021 11:07:12 -0300 Subject: [PATCH] removed hostname wildcard #116 --- app/loader.php | 4 ---- app/themes/Peafowl/views/dashboard.php | 9 --------- 2 files changed, 13 deletions(-) diff --git a/app/loader.php b/app/loader.php index dbe1f55..d6e10c0 100644 --- a/app/loader.php +++ b/app/loader.php @@ -110,10 +110,6 @@ define('CHV_PATH_CONTENT_IMAGES_SYSTEM', CHV_PATH_CONTENT . 'images/system/'); define('CHV_PATH_CONTENT_IMAGES_USERS', CHV_PATH_CONTENT . 'images/users/'); define('CHV_PATH_CONTENT_PAGES', CHV_PATH_CONTENT . 'pages/'); define('CHV_PATH_PEAFOWL', G_ROOT_LIB_PATH . 'Peafowl/'); - -// subdomain wildcards here -$hostnameSetting = G\get_app_setting('hostname') ?: Settings::get('hostname') ?: G\get_domain(G_HTTP_HOST); - define('CHV_ROOT_URL', G_ROOT_URL); define('CHV_HTTP_HOST', G_HTTP_HOST); define('CHV_ROOT_URL_STATIC', defined('CHV_ROOT_CDN_URL') ? CHV_ROOT_CDN_URL : G_ROOT_URL); diff --git a/app/themes/Peafowl/views/dashboard.php b/app/themes/Peafowl/views/dashboard.php index 95b1339..f8c7f2b 100644 --- a/app/themes/Peafowl/views/dashboard.php +++ b/app/themes/Peafowl/views/dashboard.php @@ -2382,15 +2382,6 @@ function free_version_warning($wrap=true)
-