Commit b3bb6fc9 by 冷斌

fix bug

parent 87e21a2c
<?php
require dirname(dirname(dirname(__DIR__))) . 'vendor/autoload.php';
class Api_Charge extends PhalApi_Api {
public function getRules() {
......@@ -95,7 +94,9 @@ class Api_Charge extends PhalApi_Api {
return $rs;
}
var_dump($this->getWx($configpri, $configpub));
var_dump(dirname(dirname(dirname(__DIR__))) . 'vendor/autoload.php');
// var_dump($this->getWx($configpri, $configpub));
die;
$orderinfo=array(
......
......@@ -4,6 +4,7 @@
* Some rights reserved:www.thinkcmf.com
*/
require './vendor/autoload.php';
if (ini_get('magic_quotes_gpc')) {
function stripslashesRecursive(array $array){
......@@ -44,7 +45,6 @@ define("THINKCMF_CORE_TAGLIBS", 'cx,Common\Lib\Taglib\TagLibSpadmin,Common\Lib\T
//uc client root
define("UC_CLIENT_ROOT", './api/uc_client/');
require './vendor/autoload.php';
if(file_exists(UC_CLIENT_ROOT."config.inc.php")){
include UC_CLIENT_ROOT."config.inc.php";
......
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