支付宝接口
This commit is contained in:
12
index.php
12
index.php
@@ -1,17 +1,9 @@
|
||||
<?php
|
||||
|
||||
header('Access-Control-Allow-Origin: *');
|
||||
header("Access-Control-Allow-Methods: *");
|
||||
header('Access-Control-Allow-Headers:*');
|
||||
header('Content-Type: text/html; charset=utf-8');
|
||||
|
||||
ini_set('date.timezone','Asia/Shanghai');
|
||||
|
||||
|
||||
error_reporting(E_ALL ^ E_NOTICE);
|
||||
|
||||
error_reporting(E_ALL ^ E_WARNING);
|
||||
|
||||
//内存限制
|
||||
ini_set ('memory_limit', '1024M');
|
||||
//应用目录为当前目录
|
||||
define('APP_PATH',__DIR__.'/');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user