* @param integer|Response $code 状态码 或者 Response对象实例
* @param string $message 错误信息
* @param array $header 参数
*/
function abort($code, $message = null, $header = [])
{
if ($code instanceof Response) {
throw new HttpResponseException($code);
} else {
throw new HttpException($code, $message, null, $header);
}
}
}
if (!function_exists('action')) {
/**
* 调用模块的操作方法 参数格式 [模块/控制器/]操作
* @param string $url 调用地址
* @param string|array $vars 调用参数 支持字符串和数组
USER | nobody |
HOME | /nonexistent |
HTTP_HOST | sumidress.com |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
SCRIPT_FILENAME | /apps/webs/www.sumidress.com/www/index.php |
PATH_INFO | /itabiti-da-cocktail-una-spalla-s213/medio/ |
REDIRECT_STATUS | 200 |
SERVER_NAME | sumidress.com |
SERVER_PORT | 8443 |
SERVER_ADDR | 172.17.0.2 |
REMOTE_PORT | 34182 |
REMOTE_ADDR | 3.80.131.164 |
SERVER_SOFTWARE | nginx/1.23.1 |
GATEWAY_INTERFACE | CGI/1.1 |
HTTPS | on |
REQUEST_SCHEME | https |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /apps/webs/www.sumidress.com/www |
DOCUMENT_URI | /index.php/itabiti-da-cocktail-una-spalla-s213/medio/ |
REQUEST_URI | //itabiti-da-cocktail-una-spalla-s213/medio/ |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php/itabiti-da-cocktail-una-spalla-s213/medio/ |
REQUEST_TIME_FLOAT | 1711664552.3234 |
REQUEST_TIME | 1711664552 |
WEBSITE_PATH | /apps/webs/www.sumidress.com |
DEFAULT_CURRENCY | usd |
PRODUCT_CURRENCY | usd |
DEFAULT_COUNTRY | us |
DEFAULT_LANGUE | en |
WEBID | 20 |
DEFAULT_SHIPPING | standard |
DEFAULT_EXPEDITED_RATE | 1.3 |
DEFAULT_PAYMENT | credit_card |
WESTERN_UNION_SAVE | 0.05 |
CUSTOM_SIZEID | 100 |
CUSTOM_SIZE_PRICE | 6.99 |
ACCESSORY_EXPEDITED | 5 |
ACCESSORY_STANDARD | 3 |
TIME_FORMAL_DRESS | 7 |
TIME_WEDDING_DRESS | 10 |
TIME_ACCESSORIES | 5 |
TIME_SHIPPING_EXPEDITED | 8 |
TIME_SHIPPING_STANDARD | 15 |
TIME_SHIPPING_PACKAGE | 25 |
DOMAIN_NAME_WWW | sumidress.com |
DOMAIN_NAME | sumidress.com |
DOMAIN_SHORT | Sumidress.com |
DOMAIN_KEY | SumiDress |
AUTO_EMAIL_URL | http://www.ddxt.top |
WEBSITE_URL | https://sumidress.com |
WEBSITE_URLS | https://sumidress.com |
WEBSITE_CONN | http://connect.sumidress.com |
WEBSITE_SIGN | MyMiaDressCom! |
CONNECT_SIGN | MyOrderSystemConnect |
WEBSITE_EMAIL | sales@sumidress.com |
IMAGES_URL | https://sumidress.com |
IMAGES_URLS | https://sumidress.com |
IMAGES_PATH | /apps/webs/www.sumidress.com/www |
IMAGES_DIR | p |
PRODUCT_DETAIL | d |
PRODUCT_CATEGORY | s |
PRODUCT_PAGING | p |
ONE_DAY_TIME | 86400 |
ONE_WEEK_TIME | 604800 |
ONE_MONTH_TIME | 2678400 |
CATEGORY_LIST_NUMS | 24 |
ORDER_PREFIX | SU |
SKU_PREFIX | S |
ORDER_MAX_PRICE | 300 |
DATA_CACHE_PATH | ../caching |