提交 58a13893 编写于 作者: T Terry

extension copy and remove theme file

上级 9d72187b
......@@ -373,7 +373,7 @@ class Administer extends Service
// theme文件进行copy到@app/theme/base/addons 下面。
protected function copyThemeFile($sourcePath)
public function copyThemeFile($sourcePath)
{
if (!$this->currentNamespace) {
Yii::$service->helper->errors->add('copyThemeFile: current extension: {namespace} is not exist', ['namespace' =>$this->currentNamespace ]);
......@@ -387,7 +387,7 @@ class Administer extends Service
}
// theme文件进行copy到@app/theme/base/addons 下面。
protected function removeThemeFile()
public function removeThemeFile()
{
if (!$this->currentNamespace) {
Yii::$service->helper->errors->add('copyThemeFile: current extension: {namespace} is not exist', ['namespace' =>$this->currentNamespace ]);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册