wpfw_ewei_shopv2/module.php
2023-02-14 19:57:32 +08:00

65 lines
1.4 KiB
PHP

<?php
/*
* 人人商城V2
*
* @author ewei 狸小狐 QQ:22185157
*/
if (!defined("IN_IA")) {
exit("Access Denied");
}
if (!defined("EWEI_SHOP_V2_MODULE_NAME")) {
$dirPath = __DIR__;
if (strstr($dirPath, "/") != false) {
$dir = explode("/", $dirPath);
} else {
$dir = explode("\\", $dirPath);
}
$module = array_pop($dir);
define("EWEI_SHOP_V2_MODULE_NAME", $module);
}
require_once IA_ROOT . "/addons/" . EWEI_SHOP_V2_MODULE_NAME . "/version.php";
require_once IA_ROOT . "/addons/" . EWEI_SHOP_V2_MODULE_NAME . "/defines.php";
require_once EWEI_SHOPV2_INC . "functions.php";
class Ewei_shopv2Module extends WeModule
{
public function welcomeDisplay()
{
header("location: " . webUrl());
exit;
}
}
class Ewei_shopv2_merchModule extends WeModule
{
public function welcomeDisplay()
{
header("location: " . webUrl());
exit;
}
}
class Ewei_shopv2_bizModule extends WeModule
{
public function welcomeDisplay()
{
header("location: " . webUrl());
exit;
}
}
class Ewei_shopv2_vipModule extends WeModule
{
public function welcomeDisplay()
{
header("location: " . webUrl());
exit;
}
}
class Ewei_shopv2_svipModule extends WeModule
{
public function welcomeDisplay()
{
header("location: " . webUrl());
exit;
}
}
?>