<?php
 
			define("MYSQL_CHARSET","utf8mb4");
			define("TABLE_PRE","sky_");
			$dbclass="mysqli";
			 
			$dbconfig["master"]=array(
				"host"=>"localhost","user"=>"root","pwd"=>"root","database"=>"deituicms_exue"
			);
			  
			 
			 
			/*缓存配置*/
			$cacheconfig=array(
				"redis"=>false,
				"memcache"=>false,
				"mysql"=>false,
				"file"=>true,
				"php"=>true
				
			);
			/*用户自定义函数文件*/
			$user_extends=array(
				"ex_fun.php",
				"ex_weixin.php",
				//"cache/ex_cache_redis.php",
				
				//"cache/ex_cache_memcache.php",
				//"cache/ex_cache_mysql.php",
				//"session/ex_sess_redis.php",
				//"session/ex_sess_mysql.php",
				//"session/ex_sess_memcache.php"
			 
			);
			/*Session配置 1为自定义 0为系统默认*/
			define("SESSION_USER",0);
			define("REWRITE_ON",0); 
			define("REWRITE_TYPE","pathinfo");
			define("TESTMODEL",1);//开发测试模式
			define("SQL_SLOW_LOG",1);//记录慢查询
			//UPLOAD_OSS--- aliyun/qiniu/upyun/0 不分离上传设为0
			define("UPLOAD_OSS",0);
			//http协议
			$http = ((isset($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] == "on") || (isset($_SERVER["HTTP_X_FORWARDED_PROTO"]) && $_SERVER["HTTP_X_FORWARDED_PROTO"] == "https")) ? "https://" : "http://";
			define("IMAGES_SITE",$http.$_SERVER['HTTP_HOST']."/");
			//静态文件
			define("STATIC_SITE",$http.$_SERVER['HTTP_HOST']."/");

			define("HTTP_HOST",$http.$_SERVER['HTTP_HOST']."/");
			define("_REDIS_PRE_","deituiCMS_");  
			?>