国内流行的内容管理系统(CMS)多端全媒体解决方案 https://www.dedebiz.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

79 lines
2.2KB

  1. <?php
  2. /*---------------------------------------------------------------------------------------------
  3. 文件远程发布目录更新配置(config.file.inc.php)
  4. 说明:本文件主要用于系统后台[生成]-[自动任务]-[远程服务器同步]
  5. 中的文件夹自定义更新配置所用,使用时候如果有特定目录需要进行同
  6. 步,则需要在这个文件中进行配置,配置方式如下:
  7. $remotefile[] = array(
  8. 'filedir' => '/yourdir', //同步文件夹目录
  9. 'description' => '这里是文件夹说明',
  10. 'dfserv' => '0', //默认服务器选项,可以在系统后台[系统设置]-[服务器分布/远程 ]中配置
  11. 'state' => '0', //同步状态,0:未同步 1:已同步
  12. );
  13. -----------------------------------------------------------------------------------------------*/
  14. global $remotefile;
  15. $remotefile = array();
  16. //以下是必备同步配置项
  17. //@start_config 不要改动下面<>结构
  18. #<s_config>
  19. $remotefile[0] = array(
  20. 'filedir'=>'/a',
  21. 'description'=>'文档HTML默认保存路',
  22. 'dfserv'=>0,
  23. 'state'=>1,
  24. 'issystem'=>1
  25. );
  26. $remotefile[1] = array(
  27. 'filedir'=>'/longhoo',
  28. 'description'=>'文档HTML默认保存路',
  29. 'dfserv'=>0,
  30. 'state'=>1,
  31. 'issystem'=>1
  32. );
  33. $remotefile[2] = array(
  34. 'filedir'=>'/uploads',
  35. 'description'=>'图片/上传文件默认路径',
  36. 'dfserv'=>0,
  37. 'state'=>1,
  38. 'issystem'=>1
  39. );
  40. $remotefile[3] = array(
  41. 'filedir'=>'/special',
  42. 'description'=>'专题目录',
  43. 'dfserv'=>0,
  44. 'state'=>1,
  45. 'issystem'=>1
  46. );
  47. $remotefile[4] = array(
  48. 'filedir'=>'/data/js',
  49. 'description'=>'生成js目录',
  50. 'dfserv'=>0,
  51. 'state'=>1,
  52. 'issystem'=>1
  53. );
  54. $remotefile[5] = array(
  55. 'filedir'=>'/images',
  56. 'description'=>'图片素材存放文件',
  57. 'dfserv'=>0,
  58. 'state'=>1,
  59. 'issystem'=>0
  60. );
  61. $remotefile[6] = array(
  62. 'filedir'=>'/templets/images',
  63. 'description'=>'模板文件图片存放目录',
  64. 'dfserv'=>0,
  65. 'state'=>1,
  66. 'issystem'=>0
  67. );
  68. $remotefile[7] = array(
  69. 'filedir'=>'/templets/style',
  70. 'description'=>'模板文件CSS样式存放目录',
  71. 'dfserv'=>0,
  72. 'state'=>1,
  73. 'issystem'=>0
  74. );
  75. #<e_config>
  76. ?>