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
+11 -1
View File
@@ -1,5 +1,8 @@
<?php
define("PHPMC_VERSION", "7.3.2105"); // Don't Change This!
// PHPMC 7 Version define
// Don't change this, because it will interfere your update.
define("PHPMC_VERSION", "7.3.3156");
include(ROOT . "/include/core/PHPMC/Event.php");
include(ROOT . "/include/core/PHPMC/User.php");
include(ROOT . "/include/core/PHPMC/Utils.php");
@@ -13,7 +16,10 @@ include(ROOT . "/include/core/PHPMC/Option.php");
include(ROOT . "/include/core/PHPMC/Permission.php");
include(ROOT . "/include/core/PHPMC/Update.php");
include(ROOT . "/include/core/PHPMC/Csrf.php");
include(ROOT . "/include/core/PHPMC/Plugin.php");
class PHPMC {
public static function Event() {
return new Event();
}
@@ -54,6 +60,10 @@ class PHPMC {
return new Update();
}
public static function Plugin() {
return new Plugin();
}
public static function Error() {
return new WebError();
}