Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
detain committed Mar 27, 2024
1 parent e3587d8 commit 07e36b4
Show file tree
Hide file tree
Showing 3 changed files with 717,962 additions and 2,999 deletions.
87 changes: 0 additions & 87 deletions bin/mirror_svg.php

This file was deleted.

4 changes: 2 additions & 2 deletions bin/mirror_worldvectorlogo.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function curlRequest($url) {
$letters = array_merge(range('a', 'z'), range(0, 9));
}
foreach ($letters as $l) {
@mkdir('svg/'.$l, true);
@mkdir('../svg/'.$l, true);
$p = 1;
$nextpage = 2;
while ($nextpage != "") {
Expand Down Expand Up @@ -66,7 +66,7 @@ function curlRequest($url) {
$tags[] = $tag;
}
$file = basename($logo);
if (!file_exists('svg/'.$l.'/'.$file)) {
if (!file_exists('../svg/'.$l.'/'.$file)) {
$svg = curlRequest($logo);
file_put_contents('svg/'.$l.'/'.$file, $svg);
}
Expand Down
Loading

0 comments on commit 07e36b4

Please sign in to comment.