dont track svgs and drop the / from the end of urls so they wont be duplicated
This commit is contained in:
parent
75be84f895
commit
8c4421108b
|
@ -28,6 +28,7 @@ $arg = $argv;
|
|||
array_shift($arg);
|
||||
|
||||
foreach ($arg as $url) {
|
||||
$url = preg_replace('/\/$/','',$url);
|
||||
$file = file_get_contents($url);
|
||||
if (!$file)
|
||||
continue;
|
||||
|
|
Loading…
Reference in a new issue