<?php
//define('APP_DOMAIN','wxt.rltest.cn');
define('PHPCLS_NAMESPACE','Xskq');
define('APP_PREFIX','xskqgl');
$plugins = array(
	
);
$prefix = substr( $_GET['s'] ,0,strpos($_GET['s'] ,'_'));
//define('UICOMP_SERVER','http://jrcomp.rltest.cn:8080/uicomp');
define('UICOMP_SERVER','http://jrcomp.rltest.cn/uicomp');
define('SOLUTION_PATH',__DIR__ .'/');
define('ENTRY_PATH',__DIR__ .'/');
if(! $plugins[$prefix]){
	define('SCRIPT_FILENAME',__FILE__);
}
else{
	//运行相应插件
	$path = __DIR__ . $plugins[$prefix] . 'stub.php';
	if(! file_exists($path) )
		die('invalid plugin path - ' . $path);
	define('SCRIPT_FILENAME', $path);
	require $path;
}

require 'vendor/autoload.php';
//$c = new \Aliyun\OTS\OTSClient;
require 'vendor/elvisszhang/php-tp313/ThinkPHP.php';