Commit b3bb6fc9 by 冷斌

fix bug

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