|
@@ -80,6 +80,7 @@ class fcgi_server
|
|
|
|
|
|
public function run_looper()
|
|
|
{
|
|
|
+ global $SRV_HOST;
|
|
|
Log::record(__FUNCTION__,Log::DEBUG);
|
|
|
// DFAFilter::instance();
|
|
|
area_helper::instance();
|
|
@@ -109,6 +110,7 @@ class fcgi_server
|
|
|
{
|
|
|
fcgi_header("Content-Type: text/html; charset=UTF-8");
|
|
|
fcgi_header("Access-Control-Allow-Credentials: true");
|
|
|
+ fcgi_header("Access-Control-Allow-Origin: http://localhost:3333");
|
|
|
if(self::is_exclude($file)) {
|
|
|
include $file;
|
|
|
}
|