mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
Move Korea IP range parser to common/defaults folder
This commit is contained in:
parent
f6b260d829
commit
9d88e53439
2 changed files with 2 additions and 2 deletions
|
|
@ -81,7 +81,7 @@ foreach ($ranges as $range)
|
|||
$content = '<' . '?php' . "\n\n" . '/**' . "\n" . ' * Source: ' . $referer_url . "\n";
|
||||
$content .= ' * Last Updated: ' . date('Y-m-d') . "\n" . ' */' . "\n";
|
||||
$content .= 'return ' . var_export($ranges_final, true) . ';' . "\n";
|
||||
file_put_contents(__DIR__ . '/../../common/defaults/korea.ipv4.php', $content);
|
||||
file_put_contents(__DIR__ . '/../korea.ipv4.php', $content);
|
||||
|
||||
/**
|
||||
* Report status.
|
||||
|
|
@ -84,7 +84,7 @@ foreach ($ranges as $range)
|
|||
$content = '<' . '?php' . "\n\n" . '/**' . "\n" . ' * Source: ' . $referer_url . "\n";
|
||||
$content .= ' * Last Updated: ' . date('Y-m-d') . "\n" . ' */' . "\n";
|
||||
$content .= 'return ' . var_export($ranges_final, true) . ';' . "\n";
|
||||
file_put_contents(__DIR__ . '/../../common/defaults/korea.ipv6.php', $content);
|
||||
file_put_contents(__DIR__ . '/../korea.ipv6.php', $content);
|
||||
|
||||
/**
|
||||
* Report status.
|
||||
Loading…
Add table
Add a link
Reference in a new issue