Updated static generator, analyse locations

This commit is contained in:
markseu 2021-04-01 13:30:47 +02:00
parent e8a03ef093
commit 46dff269b2
2 changed files with 4 additions and 3 deletions

3
system/extensions/command.php Normal file → Executable file
View file

@ -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)) {

View file

@ -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