diff --git a/build/sae/config.yaml b/build/sae/config.yaml index 262fbf5839..0bb3f31de6 100644 --- a/build/sae/config.yaml +++ b/build/sae/config.yaml @@ -1,7 +1,7 @@ name: zentao version: 1 cron: - - description: cron test + - description: cron url: project-computeburn-admin.html schedule: every day of month 00:00 timezone: Beijing @@ -15,4 +15,3 @@ handle: - expire: if(path ~ "\.png$") time 360000 - expire: if(path ~ "\.ico$") time 360000 - expire: if(path ~ "\.jpg$") time 360000 - diff --git a/build/sae/my.php b/build/sae/my.php new file mode 100755 index 0000000000..57ce5069dd --- /dev/null +++ b/build/sae/my.php @@ -0,0 +1,31 @@ +installed = false; +$config->debug = false; +$config->requestType = 'PATH_INFO'; + +$config->db->host = SAE_MYSQL_HOST_M; +$config->db->slaveHost = SAE_MYSQL_HOST_S; +$config->db->port = SAE_MYSQL_PORT; +$config->db->name = SAE_MYSQL_DB; +$config->db->user = SAE_MYSQL_USER; +$config->db->password = SAE_MYSQL_PASS; +$config->db->prefix = 'zt_'; +$config->db->checkCentOS = false; + +$config->slaveDB->host = SAE_MYSQL_HOST_S; +$config->slaveDB->port = SAE_MYSQL_PORT; +$config->slaveDB->name = SAE_MYSQL_DB; +$config->slaveDB->user = SAE_MYSQL_USER; +$config->slaveDB->password = SAE_MYSQL_PASS; +$config->slaveDB->checkCentOS = false; + +$config->webRoot = '/'; +$config->default->domain = $_SERVER['HTTP_HOST']; +$config->default->lang = 'zh-cn'; + +$config->sae->storage->domain = 'zentao'; + +$saeDB = new saemysql(); +$saeSQL = "SELECT COUNT(`id`) FROM `" . $config->db->prefix . "config` WHERE 1 LIMIT 0,10"; +if($saeDB->getData($saeSQL)) $config->installed = true; +$saeDB->closeDb(); diff --git a/build/sae/sae_app_wizard.xml b/build/sae/sae_app_wizard.xml new file mode 100755 index 0000000000..95bc3c794c --- /dev/null +++ b/build/sae/sae_app_wizard.xml @@ -0,0 +1,47 @@ + + + 禅道项目管理软件SAE版本 + 青岛易软天创网络科技有限公司 + default_app_icon + http://www.zentao.net/ + + 禅道项目管理软件(ZenTaoPMS)是一款国产的,基于LGPL协议,开源免费的项目管理软件,它集产品管理、项目管理、测试管理于一体,同时还包含了事务管理、组织管理等诸多功能,是中小型企业项目管理的首选。禅道项目管理软件使用PHP + MySQL开发,基于自主的PHP开发框架──ZenTaoPHP而成。第三方开发者或者企业可以非常方便的开发插件或者进行定制。

+ ]]> +
+
+ + + Storage + Memcache + Mysql + + + + > +version: <> +cron: + - description: cron + url: project-computeburn-admin.html + schedule: every day of month 00:00 + timezone: Beijing +handle: + - rewrite: if(!is_dir() && !is_file()) goto "index.php/%{REQUEST_URI}" + - compress: if(out_header["Content-Type"] ~ "text") compress + - compress: if(out_header["Content-Type"] ~ "javascript") compress + - expire: if(path ~ "\.js$") time 360000 + - expire: if(path ~ "\.css$") time 360000 + - expire: if(path ~ "\.gif$") time 360000 + - expire: if(path ~ "\.png$") time 360000 + - expire: if(path ~ "\.ico$") time 360000 + - expire: if(path ~ "\.jpg$") time 360000 + ]]> + + + + + index.php + +
+