1
0
mirror of https://github.com/ZeroDream-CN/PHPMC7 synced 2024-11-28 07:32:55 +08:00
PHPMC7/include/core/PHPMC/Main.php
KasuganoSoras f06e0bcb30 v7.3.3156 更新发布
增加插件系统
增加事件管理系统
修复错误页面的标题问题
2018-09-16 01:49:48 +08:00

70 lines
1.6 KiB
PHP

<?php
// 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");
include(ROOT . "/include/core/PHPMC/WebError.php");
include(ROOT . "/include/core/PHPMC/Profile.php");
include(ROOT . "/include/core/PHPMC/Daemon.php");
include(ROOT . "/include/core/PHPMC/Server.php");
include(ROOT . "/include/core/PHPMC/System.php");
include(ROOT . "/include/core/PHPMC/Http.php");
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();
}
public static function User() {
return new User();
}
public static function Daemon() {
return new Daemon();
}
public static function Server() {
return new Server();
}
public static function System() {
return new System();
}
public static function Http() {
return new Http();
}
public static function Csrf() {
return new Csrf();
}
public static function Option() {
return new Option();
}
public static function Permission() {
return new Permission();
}
public static function Update() {
return new Update();
}
public static function Plugin() {
return new Plugin();
}
public static function Error() {
return new WebError();
}
}