|
|
|
@ -17,8 +17,8 @@ class FaviconGenerator
|
|
|
|
|
|
|
|
|
|
public function __construct() |
|
|
|
|
{ |
|
|
|
|
$this->originPath = Yii::getAlias('@staticRoot') . '/images/origin/favicon'; |
|
|
|
|
$this->cachePath = Yii::getAlias('@staticRoot') . '/images/cache/favicon'; |
|
|
|
|
$this->originPath = Yii::getAlias('@staticRoot') . '/origin/favicon'; |
|
|
|
|
$this->cachePath = Yii::getAlias('@staticRoot') . '/cache/favicon'; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public function generateIcons() |
|
|
|
@ -90,7 +90,7 @@ class FaviconGenerator
|
|
|
|
|
|
|
|
|
|
protected function generateManifestJson() |
|
|
|
|
{ |
|
|
|
|
$cacheUrl = Yii::getAlias('@static') . '/images/cache'; |
|
|
|
|
$cacheUrl = Yii::getAlias('@static') . '/cache'; |
|
|
|
|
|
|
|
|
|
// frontend |
|
|
|
|
file_put_contents( |
|
|
|
@ -113,7 +113,7 @@ class FaviconGenerator
|
|
|
|
|
|
|
|
|
|
protected function generateBrowserConfigXml() |
|
|
|
|
{ |
|
|
|
|
$cacheUrl = Yii::getAlias('@static') . '/images/cache'; |
|
|
|
|
$cacheUrl = Yii::getAlias('@static') . '/cache'; |
|
|
|
|
|
|
|
|
|
// frontend |
|
|
|
|
file_put_contents( |
|
|
|
|