浏览代码

System update (icon handling)

markseu 9 年之前
父节点
当前提交
7849d73797
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      system/plugins/commandline.php

+ 3 - 3
system/plugins/commandline.php

@@ -5,7 +5,7 @@
 // Command line plugin
 // Command line plugin
 class YellowCommandline
 class YellowCommandline
 {
 {
-	const Version = "0.6.6";
+	const Version = "0.6.7";
 	var $yellow;					//access to API
 	var $yellow;					//access to API
 	var $files;						//number of files
 	var $files;						//number of files
 	var $errors;					//number of errors
 	var $errors;					//number of errors
@@ -412,13 +412,13 @@ class YellowCommandline
 	{
 	{
 		$locations = array();
 		$locations = array();
 		$fileNames = $this->yellow->toolbox->getDirectoryEntries(
 		$fileNames = $this->yellow->toolbox->getDirectoryEntries(
-			$this->yellow->config->get("pluginDir"), "/\.(css|js|jpg|png|txt|woff)/", false, false);
+			$this->yellow->config->get("pluginDir"), "/\.(css|ico|js|jpg|png|txt|woff)/", false, false);
 		foreach($fileNames as $fileName)
 		foreach($fileNames as $fileName)
 		{
 		{
 			array_push($locations, $this->yellow->config->get("pluginLocation").basename($fileName));
 			array_push($locations, $this->yellow->config->get("pluginLocation").basename($fileName));
 		}
 		}
 		$fileNames = $this->yellow->toolbox->getDirectoryEntries(
 		$fileNames = $this->yellow->toolbox->getDirectoryEntries(
-			$this->yellow->config->get("themeDir"), "/\.(css|js|jpg|png|txt|woff)/", false, false);
+			$this->yellow->config->get("themeDir"), "/\.(css|ico|js|jpg|png|txt|woff)/", false, false);
 		foreach($fileNames as $fileName)
 		foreach($fileNames as $fileName)
 		{
 		{
 			array_push($locations, $this->yellow->config->get("themeLocation").basename($fileName));
 			array_push($locations, $this->yellow->config->get("themeLocation").basename($fileName));