mirror of
https://github.com/ZeroDream-CN/PHPMC7
synced 2026-05-14 09:32:33 +08:00
b0bb258d07
增加更新检测功能,现在可以自动下载最新版本的 PHPMC 了。 修正部分逻辑判断问题。 修改了部分 AJAX 请求超时时间 增加操作过渡动画效果
55 lines
1.3 KiB
PHP
55 lines
1.3 KiB
PHP
<?php
|
|
define("PHPMC_VERSION", "7.3.1709"); // 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");
|
|
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 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();
|
|
}
|
|
} |