You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
418 B

<?php
/**
* 隐藏插件,默认开启
*/
class simpleClockPlugin extends PluginBase{
function __construct(){
parent::__construct();
}
public function regiest(){
$this->hookRegiest(array(
'user.commonJs.insert' => 'simpleClockPlugin.echoJs'
));
}
public function echoJs($st,$act){
$this->echoFile('static/main.js');
}
public function index(){
include($this->pluginPath.'static/page.html');
}
}