Updated core

This commit is contained in:
markseu 2024-04-24 17:45:34 +02:00
parent 1696d20bf7
commit 1816fe3e8d
3 changed files with 4 additions and 4 deletions

View file

@ -155,7 +155,7 @@ Tag: feature
DownloadUrl: https://github.com/annaesvensson/yellow-core/archive/refs/heads/main.zip
DocumentationUrl: https://github.com/annaesvensson/yellow-core
DocumentationLanguage: en, de, sv
Published: 2024-04-24 15:56:59
Published: 2024-04-24 17:43:59
Status: available
system/workers/core.php: core.php, create, update
system/extensions/core.php: coreupdate.txt, update

View file

@ -8,7 +8,7 @@ Tag: feature
DownloadUrl: https://github.com/annaesvensson/yellow-core/archive/refs/heads/main.zip
DocumentationUrl: https://github.com/annaesvensson/yellow-core
DocumentationLanguage: en, de, sv
Published: 2024-04-24 15:56:59
Published: 2024-04-24 17:43:59
Status: available
system/workers/core.php: core.php, create, update
system/extensions/core.php: coreupdate.txt, update

View file

@ -3397,8 +3397,8 @@ class YellowPage {
}
// Return page URL
public function getUrl($canoncialUrl = false) {
if ($canoncialUrl) {
public function getUrl($canonicalUrl = false) {
if ($canonicalUrl) {
$scheme = $this->yellow->system->get("coreServerScheme");
$address = $this->yellow->system->get("coreServerAddress");
$location = $this->yellow->system->get("coreServerBase").$this->location;