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 b3c208c commit 2d1f1aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion modules/addons/ispapidpi/ispapidpi.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@
// test
function ispapidpi_config()
{
$logo_src = file_get_contents(implode(DIRECTORY_SEPARATOR, [ROOTDIR, "modules", "addons", "ispapidpi", "logo.png"]));
$logo_data = ($logo_src) ? 'data:image/png;base64,' . base64_encode($logo_src) : '';
return [
"name" => "ISPAPI Pricing Importer",
"description" => "Quickly update your WHMCS domain pricing list.",
"author" => "HEXONET",
"author" => '<a href="https://www.hexonet.net/" target="_blank"><img style="max-width:100px" src="' . $logo_data . '" alt="HEXONET" /></a>',
"language" => "english",
"fields" => [
"username" => [
Expand Down
Binary file added modules/addons/ispapidpi/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 2d1f1aa

Please sign in to comment.