Skip to content

Commit

Permalink
Fixed spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
BelleNottelling committed Dec 6, 2023
1 parent 21c3c52 commit c113128
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/config-sample.php
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@

/**
* You may override the default IP address database that FOSSBilling utilizes here if you desire.
* The 'included' arrays define what data types are included in that database. For exampple, the default ones for FOSSBilling would be ['country', 'asn']
* The 'included' arrays define what data types are included in that database. For example, the default ones for FOSSBilling would be ['country', 'asn']
*/
'IPDatabase' => [
'customIPv4' => '',
Expand Down
5 changes: 2 additions & 3 deletions src/library/FOSSBilling/IPDatabase.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ final class IPDatabase
public const IPvUnknown = 0;

/**
* FOSSBilling uses databases that are licenced under the public domain (CC0 and PDDL).
* This is done to ensure that we have good enough data out of the box that's updated regularly and that can be used without a concern of licencing.
* FOSSBilling uses databases that are licensed under the public domain (CC0 and PDDL).
* This is done to ensure that we have good enough data out of the box that's updated regularly and that can be used without a concern of licensing.
* Below are the download URLs for both the IPv4 and IPv6 DBs we utilize.
* Both include ASN and Country information.
*/
Expand All @@ -51,7 +51,6 @@ public static function getReader(int $type = self::IPvUnknown, ?string $ip = nul
}

[$IPv4, $IPv6] = self::getPaths();
error_log("$IPv4, $IPv6");

switch ($type) {
case self::IPv4:
Expand Down

0 comments on commit c113128

Please sign in to comment.