瀏覽代碼

Small fix

Sergio Brighenti 6 年之前
父節點
當前提交
f97fb48c33
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      bin/theme

+ 1 - 1
bin/theme

@@ -15,7 +15,7 @@ if (!isset($argv[1])) {
 }
 }
 
 
 foreach ($json->themes as $theme) {
 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));
         file_put_contents('static/bootstrap/css/bootstrap.min.css', file_get_contents($theme->cssMin));
 		echo "Installed theme {$theme->name}." . PHP_EOL;
 		echo "Installed theme {$theme->name}." . PHP_EOL;
 		break;
 		break;