commit 46dff269b2334035fcf33b220a7a8451d1f26341
parent e8a03ef093ba4a14b5c8794c6d319a49bdf9c34c
Author: markseu <mark2011@mayberg.se>
Date: Thu, 1 Apr 2021 13:30:47 +0200
Updated static generator, analyse locations
Diffstat:
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/system/extensions/command.php b/system/extensions/command.php
@@ -2,7 +2,7 @@
// Command extension, https://github.com/datenstrom/yellow-extensions/tree/master/source/command
class YellowCommand {
- const VERSION = "0.8.27";
+ const VERSION = "0.8.28";
public $yellow; // access to API
public $files; // number of files
public $links; // number of links
@@ -208,6 +208,7 @@ class YellowCommand {
$location = $tokens[3];
}
if (substru($location, 0, strlenu($base))!=$base) continue;
+ if (substru($location, strlenu($base), 1)!="/") continue;
$location = substru($location, strlenu($base));
if (!$this->yellow->toolbox->isLocationArguments($location)) continue;
if (!$this->yellow->toolbox->isLocationArgumentsPagination($location)) {
diff --git a/system/extensions/update-current.ini b/system/extensions/update-current.ini
@@ -11,11 +11,11 @@ Tag: feature
system/extensions/bundle.php: bundle.php, create, update
Extension: Command
-Version: 0.8.27
+Version: 0.8.28
Description: Command line of the website.
HelpUrl: https://github.com/datenstrom/yellow-extensions/tree/master/source/command
DownloadUrl: https://github.com/datenstrom/yellow-extensions/raw/master/zip/command.zip
-Published: 2020-12-09 17:27:25
+Published: 2021-04-01 13:17:15
Developer: Datenstrom
Tag: feature
system/extensions/command.php: command.php, create, update