Updated API, moved normalisation to lookup
This commit is contained in:
parent
a964a7cfb9
commit
955db6cf6c
|
@ -2,7 +2,7 @@
|
|||
// Core extension, https://github.com/annaesvensson/yellow-core
|
||||
|
||||
class YellowCore {
|
||||
const VERSION = "0.8.101";
|
||||
const VERSION = "0.8.102";
|
||||
const RELEASE = "0.8.21";
|
||||
public $content; // content files
|
||||
public $media; // media files
|
||||
|
@ -2809,7 +2809,10 @@ class YellowToolbox {
|
|||
return $this->getServer("HTTP_IF_MODIFIED_SINCE")==$lastModifiedFormatted;
|
||||
}
|
||||
|
||||
public function normaliseArguments($text, $appendSlash = true, $filterStrict = true) { return $this->yellow->lookup->normaliseArguments($text, $appendSlash, $filterStrict); } //TODO: remove later, for backwards compatibility
|
||||
// TODO: remove later, for backwards compatibility
|
||||
public function normaliseUpperLower($input) { return $this->yellow->lookup->normaliseArray($input); }
|
||||
public function normaliseArguments($text, $appendSlash = true, $filterStrict = true) { return $this->yellow->lookup->normaliseArguments($text, $appendSlash, $filterStrict); }
|
||||
public function normalisePath($text) { return $this->yellow->lookup->normalisePath($text); }
|
||||
}
|
||||
|
||||
class YellowPage {
|
||||
|
|
|
@ -11,11 +11,11 @@ Tag: feature
|
|||
system/extensions/command.php: command.php, create, update
|
||||
|
||||
Extension: Core
|
||||
Version: 0.8.101
|
||||
Version: 0.8.102
|
||||
Description: Core functionality of the website.
|
||||
DocumentationUrl: https://github.com/annaesvensson/yellow-core
|
||||
DownloadUrl: https://github.com/datenstrom/yellow-extensions/raw/main/downloads/core.zip
|
||||
Published: 2022-11-10 15:28:28
|
||||
Published: 2022-11-11 11:56:13
|
||||
Developer: Mark Seuffert, David Fehrmann
|
||||
Tag: feature
|
||||
system/extensions/core.php: core.php, create, update
|
||||
|
|
Loading…
Reference in a new issue