From 8520c564e336ac7b8d81aae495e3ced7efdbb7c3 Mon Sep 17 00:00:00 2001 From: trendschau Date: Fri, 18 Oct 2024 15:24:34 +0200 Subject: [PATCH] Finish V 2.10.0 --- content/00-getting-started/00-create-your-first-page.md | 2 +- system/typemill/Models/License.php | 9 +++++---- system/typemill/settings/defaults.yaml | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/content/00-getting-started/00-create-your-first-page.md b/content/00-getting-started/00-create-your-first-page.md index ffb1a80..85646bb 100644 --- a/content/00-getting-started/00-create-your-first-page.md +++ b/content/00-getting-started/00-create-your-first-page.md @@ -6,7 +6,7 @@ To create a new page in Typemill, follow these simple steps: * **Enter a page title** for your new page into one of the grey input fields. * **Click the page icon** to create a new page. You can also create a folder if you want to add sub-pages later. -Here's a quick breakdown of the options: +Here's a quick breakdown of the options. * **Folders**: Use folders to organize your website hierarchically. Folders can contain subfolders or pages. Unlike a traditional file system, folders in Typemill can also have content, similar to pages. * **Pages**: Utilize pages for simple content without needing a deeper structure. diff --git a/system/typemill/Models/License.php b/system/typemill/Models/License.php index f863cb2..8a8604b 100644 --- a/system/typemill/Models/License.php +++ b/system/typemill/Models/License.php @@ -144,7 +144,8 @@ class License return false; } - private function checkLicenseDomain(string $licensedomain, array $urlinfo) + # NOT IN USE ANYMORE: Check licese domain deeply with subdomains + private function checkLicenseDomainDeep(string $licensedomain, array $urlinfo) { $licensehost = parse_url($licensedomain, PHP_URL_HOST); $licensehost = str_replace("www.", "", $licensehost); @@ -165,8 +166,8 @@ class License return false; } - # NOT IN USE: Compare only domain without subdomains or subfolders - private function checkLicenseBaseDomain(string $licensedomain, array $urlinfo) + # Compare only domain without subdomains or subfolders + private function checkLicenseDomain(string $licensedomain, array $urlinfo) { $licensehost = parse_url($licensedomain, PHP_URL_HOST); $licensehost = preg_replace('/^www\./', '', $licensehost); @@ -189,7 +190,7 @@ class License return false; } - # NOT IN USE: Function to extract the base domain (ignoring subdomains) + # Function to extract the base domain (ignoring subdomains) private function extractBaseDomain($host) { $parts = explode('.', $host); diff --git a/system/typemill/settings/defaults.yaml b/system/typemill/settings/defaults.yaml index 80360c7..2a1beae 100644 --- a/system/typemill/settings/defaults.yaml +++ b/system/typemill/settings/defaults.yaml @@ -1,4 +1,4 @@ -version: '2.9.0' +version: '2.10.0' title: 'Typemill' author: 'Unknown' copyright: false