1
0
mirror of https://github.com/ZeroDream-CN/PHPMC7 synced 2024-11-24 13:15:10 +08:00
PHPMC7/include/core/PHPMC/Main.php
KasuganoSoras 01b9046021 v7.3.2105 安全更新发布
增加登录页面 Csrf 验证
修复 Daemon 管理页面显示问题
修复一些操作时的判断问题
修复 AJAX 请求参数构造错误问题
修复控制台字体全绿问题
2018-09-15 13:25:18 +08:00

60 lines
1.4 KiB
PHP

<?php
define("PHPMC_VERSION", "7.3.2105"); // Don't Change This!
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");
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 Error() {
return new WebError();
}
}