Skip to content
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.

Commit

Permalink
fix(HX logo): HX logo.png + configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Rashad Jamara authored and KaiSchwarz-cnic committed Aug 9, 2021
1 parent 7f0cea7 commit cec299c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion modules/addons/ispapidomaincheck/ispapidomaincheck.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,13 @@
*/
function ispapidomaincheck_config()
{
$logo_src = file_get_contents(implode(DIRECTORY_SEPARATOR, [ROOTDIR, "modules", "addons", "ispapidomaincheck", "logo.png"]));
$logo_data = ($logo_src) ? 'data:image/png;base64,' . base64_encode($logo_src) : '';
return [
"name" => "ISPAPI HP DomainChecker",
"description" => "This addon provides a new domainchecker interface with high speed checks, suggestions and premium support.",
"version" => "14.0.3",
"author" => "HEXONET",
"author" => '<a href="https://www.hexonet.net/" target="_blank"><img style="max-width:100px" src="' . $logo_data . '" alt="HEXONET" /></a>',
"language" => "english"
];
}
Expand Down
Binary file added modules/addons/ispapidomaincheck/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit cec299c

Please sign in to comment.