2018-09-10 14:53:00 +08:00
|
|
|
<?php
|
2018-09-16 01:49:48 +08:00
|
|
|
// PHPMC 7 Version define
|
|
|
|
// Don't change this, because it will interfere your update.
|
2018-10-07 14:31:58 +08:00
|
|
|
define("PHPMC_VERSION", "7.3.3233");
|
2018-09-16 01:49:48 +08:00
|
|
|
|
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");
|
2018-09-15 05:31:23 +08:00
|
|
|
include(ROOT . "/include/core/PHPMC/Update.php");
|
2018-09-15 13:25:18 +08:00
|
|
|
include(ROOT . "/include/core/PHPMC/Csrf.php");
|
2018-09-16 01:49:48 +08:00
|
|
|
include(ROOT . "/include/core/PHPMC/Plugin.php");
|
|
|
|
|
2018-09-10 14:53:00 +08:00
|
|
|
class PHPMC {
|
2018-09-16 01:49:48 +08:00
|
|
|
|
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();
|
|
|
|
}
|
|
|
|
|
2018-09-15 13:25:18 +08:00
|
|
|
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();
|
|
|
|
}
|
|
|
|
|
2018-09-15 05:31:23 +08:00
|
|
|
public static function Update() {
|
|
|
|
return new Update();
|
|
|
|
}
|
|
|
|
|
2018-09-16 01:49:48 +08:00
|
|
|
public static function Plugin() {
|
|
|
|
return new Plugin();
|
|
|
|
}
|
|
|
|
|
2018-09-10 14:53:00 +08:00
|
|
|
public static function Error() {
|
|
|
|
return new WebError();
|
|
|
|
}
|
|
|
|
}
|