Commit 94dbdeb3 by 冷斌

fix bug

parent 85599452
...@@ -177,6 +177,8 @@ class Api_Charge extends PhalApi_Api { ...@@ -177,6 +177,8 @@ class Api_Charge extends PhalApi_Api {
// $rs['info'][0]=$paramarr2; // $rs['info'][0]=$paramarr2;
require dirname(dirname(dirname(__DIR__))) . '/vendor/autoload.php';
$wx_config = [ $wx_config = [
'wechat' => [ 'wechat' => [
'appid' => 'wxa6bcebff7f4c5a3f', 'appid' => 'wxa6bcebff7f4c5a3f',
......
...@@ -4,8 +4,6 @@ ...@@ -4,8 +4,6 @@
* Some rights reserved:www.thinkcmf.com * Some rights reserved:www.thinkcmf.com
*/ */
require './vendor/autoload.php';
if (ini_get('magic_quotes_gpc')) { if (ini_get('magic_quotes_gpc')) {
function stripslashesRecursive(array $array){ function stripslashesRecursive(array $array){
foreach ($array as $k => $v) { foreach ($array as $k => $v) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment