commit 8ef403d7a7243a90229b2102494ff4a99ddcfb9a
parent 950d7224c2f71f62b1617cfc4a1910692aa16dbd
Author: markseu <mark2011@mayberg.se>
Date: Sun, 22 Apr 2018 20:03:06 +0200
Updated system, broken link checker
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/system/plugins/command.php b/system/plugins/command.php
@@ -5,7 +5,7 @@
class YellowCommand
{
- const VERSION = "0.7.4";
+ const VERSION = "0.7.5";
var $yellow; //access to API
var $files; //number of files
var $links; //number of links
@@ -366,6 +366,7 @@ class YellowCommand
$statusCodeUrl = array_shift($locations);
foreach($locations as $location)
{
+ if($statusCodeUrl==302) continue;
if($statusCodeUrl>=300 && $statusCodeUrl<=399) {
$redirect["$scheme://$address$location -> $url - ".$this->getStatusFormatted($statusCodeUrl)] = $statusCodeUrl;
} else {