Skip to content

Commit

Permalink
removed special characters because they aren't supported in the webco…
Browse files Browse the repository at this point in the history
…nfigurator cli
  • Loading branch information
tyler-holm committed Apr 5, 2023
1 parent de6dcc0 commit 942365b
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions install.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
<?php
echo "Intializing theme installation\n";

$symbol_check = "\e[0;32m\xe2\x9c\x93\e[0m";
$symbol_cross = "\e[0;31m\xe2\x9c\x95\e[0m";

$url = 'https://raw.githubusercontent.com/callmekass/pfSense-palenight/main/callmekass-palenight.css';

$file_name = basename($url);
Expand All @@ -12,10 +9,10 @@
// Get file from url and save to css themes folder
if (file_put_contents($file_path, file_get_contents($url)))
{
echo $symbol_check.' '.$file_name.' installed successfully.'."\n";
echo $file_name.' installed successfully.'."\n";
}
else
{
echo $symbol_cross.' '.$file_name.' failed to download.'."\n";
echo $file_name.' failed to download.'."\n";
}
?>

0 comments on commit 942365b

Please sign in to comment.