Skip to content

Commit

Permalink
Fixed other issues
Browse files Browse the repository at this point in the history
  • Loading branch information
BelleNottelling committed Jan 21, 2024
1 parent 038b210 commit dec3de7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/library/FOSSBilling/IPDatabase.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ public static function getReader(): Reader
*/
public static function update()
{
$custom_path = Config::getProperty('ip_database.custom_path', '');
if (!empty($custom_path)) {
return;
}
Expand Down Expand Up @@ -101,7 +102,7 @@ public static function getPath(bool $default = false, bool $skipUpdate = false):

return $path;
}
public function getDownloadUrl(bool $default = false)
public static function getDownloadUrl(bool $default = false)
{
$custom_url = Config::getProperty('ip_database.custom_url', '');
if (!$default && !empty($custom_url)) {
Expand Down

0 comments on commit dec3de7

Please sign in to comment.