Small fix
This commit is contained in:
parent
632b2df039
commit
f97fb48c33
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ if (!isset($argv[1])) {
|
|||
}
|
||||
|
||||
foreach ($json->themes as $theme) {
|
||||
if (isset($argv[1]) && $argv[1] === mb_strtolower($theme->name)) {
|
||||
if (isset($argv[1]) && strtolower($argv[1]) === strtolower($theme->name)) {
|
||||
file_put_contents('static/bootstrap/css/bootstrap.min.css', file_get_contents($theme->cssMin));
|
||||
echo "Installed theme {$theme->name}." . PHP_EOL;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue