安装插件后的基础文件
This commit is contained in:
21
plugin/demo/Upgrade.php
Normal file
21
plugin/demo/Upgrade.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace plugin\demo;
|
||||
|
||||
/**
|
||||
* 演示插件
|
||||
* 升级脚本
|
||||
*/
|
||||
class Upgrade
|
||||
{
|
||||
/**
|
||||
* 插件升级方法
|
||||
* @access public
|
||||
* @return bool
|
||||
*/
|
||||
public function execute()
|
||||
{
|
||||
var_dump('Upgrade');
|
||||
return true;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user