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

70 lines
1.6 KiB
PHP
Raw Normal View History

2018-09-10 14:53:00 +08:00
<?php
// PHPMC 7 Version define
// Don't change this, because it will interfere your update.
define("PHPMC_VERSION", "7.3.3156");
2018-09-10 14:53:00 +08:00
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");
2018-09-10 14:53:00 +08:00
class PHPMC {
2018-09-10 14:53:00 +08:00
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();
}
2018-09-10 14:53:00 +08:00
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();
}
2018-09-10 14:53:00 +08:00
public static function Error() {
return new WebError();
}
}