1
0
mirror of https://github.com/ZeroDream-CN/PHPMC7 synced 2026-05-17 02:54:03 +08:00

v7.3.3156 更新发布

增加插件系统
增加事件管理系统
修复错误页面的标题问题
This commit is contained in:
2018-09-16 01:49:48 +08:00
Unverified
parent 3117402098
commit f06e0bcb30
9 changed files with 161 additions and 30 deletions
+6
View File
@@ -0,0 +1,6 @@
{
"main":"Register",
"package":"com.phpmc.register",
"author":"Akkariin",
"website":"https://www.akkariin.com/"
}
+13
View File
@@ -0,0 +1,13 @@
<?php
class Register {
public static function onload() {
global $Loader;
$Loader->Event->registerClass("defaultActionEvent", new Register()); // 注册 defaultActionEvent 事件
}
public function defaultActionEvent($test) {
// print_r($test); // 输出 GET 参数数组
return false; // 不取消事件
}
}