浏览代码

modify to fcgirun mode

stanley-king 9 年之前
父节点
当前提交
becd31bee3
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      run.php

+ 1 - 2
run.php

@@ -28,8 +28,6 @@ require_once(BASE_CORE_PATH.'/framework/function/goods.php');
 
 $config = config_init();
 
-$gfcgi_run = 1;
-
 //define('OS_TYPE','MAC');
 define('OS_TYPE','LINUX');
 
@@ -41,6 +39,7 @@ if(OS_TYPE == 'MAC') {
     $log_file = new SplFileObject('./php_example.txt','w+');
 }
 
+$gfcgi_run = 0;
 
 if($gfcgi_run == 0) { //正式的请求处理程序
     $file = BASE_ROOT_PATH . '/fcgi_run.php';