You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
information-system/application/third_party/flight/libraries/API/CtripUnion.php

21 lines
627 B
PHTML

<?php
/* PHP SDK
* @version 2.0.0
* @author magicsky0@163.com
* @copyright © 2014, Ctrip Corporation. All rights reserved.
*/
date_default_timezone_set('Asia/Shanghai');
define( "CU_DEVELOP", false ); // 是否开启开发者模式,打印调试信息
define( "CU_ROOT", str_replace('\\','/',dirname(__FILE__))."/" );
define( "CU_CLASS_PATH", CU_ROOT."class/" );
define( "CU_COMM_PATH", CU_ROOT."comm/" );
define( "CU_DATA_PATH", CU_ROOT."data/" );
if( !defined("CU_TOKEN_PATH") )
{
define( "CU_TOKEN_PATH", CU_DATA_PATH."json" ); // 重新定义路径即可覆盖授权文件
}
require CU_CLASS_PATH."CU.class.php";