国内流行的内容管理系统(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.

159 lines
5.6KB

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $s_lang?>" />
  5. <title>安装程序 - 织梦内容管理系统<?php echo $verMsg; ?></title>
  6. <link rel="stylesheet" href="../static/css/bootstrap.min.css">
  7. <link href="../static/font-awesome/css/font-awesome.min.css" rel="stylesheet">
  8. <link href="style.css" rel="stylesheet" type="text/css" />
  9. </head>
  10. <body>
  11. <div class="top">
  12. <div class="top-logo">
  13. </div>
  14. <div class="top-link">
  15. <ul>
  16. <li><a href="https://www.dedebiz.com" target="_blank">DedeCMSV6</a></li>
  17. <li><a href="https://www.dedebiz.com/git" target="_blank">代码托管</a></li>
  18. <li><a href="https://www.dedebiz.com/help" target="_blank">帮助中心</a></li>
  19. <li><a href="https://www.dedebiz.com/auth" target="_blank">授权中心</a></li>
  20. </ul>
  21. </div>
  22. <div class="top-version">
  23. <!-- 版本信息 -->
  24. <h2>DEDECMS<?php echo $verMsg; ?></h2>
  25. </div>
  26. </div>
  27. <div class="main">
  28. <div class="pleft">
  29. <dl class="setpbox t1">
  30. <dt>安装步骤</dt>
  31. <dd>
  32. <ul>
  33. <li class="succeed">许可协议</li>
  34. <li class="now">环境检测</li>
  35. <li>参数配置</li>
  36. <li>正在安装</li>
  37. <li>安装完成</li>
  38. </ul>
  39. </dd>
  40. </dl>
  41. </div>
  42. <div class="pright">
  43. <div class="pr-title"><h3>服务器信息</h3></div>
  44. <table width="726" border="0" align="center" cellpadding="0" cellspacing="0" class="twbox">
  45. <tr>
  46. <th width="300" align="center"><strong>参数</strong></th>
  47. <th width="424"><strong>值</strong></th>
  48. </tr>
  49. <tr>
  50. <td><strong>服务器域名</strong></td>
  51. <td><?php echo $sp_name; ?></td>
  52. </tr>
  53. <tr>
  54. <td><strong>服务器操作系统</strong></td>
  55. <td><?php echo $sp_os; ?></td>
  56. </tr>
  57. <tr>
  58. <td><strong>服务器解译引擎</strong></td>
  59. <td><?php echo $sp_server; ?></td>
  60. </tr>
  61. <tr>
  62. <td><strong>PHP版本</strong></td>
  63. <td><?php echo $phpv; ?><small>(建议使用PHP7.0以上版本)</small></td>
  64. </tr>
  65. <tr>
  66. <td><strong>系统安装目录</strong></td>
  67. <td><?php echo DEDEROOT; ?></td>
  68. </tr>
  69. </table>
  70. <div class="pr-title"><h3>系统环境检测</h3></div>
  71. <div style="padding:2px 8px 0px; line-height:33px; height:26px; overflow:hidden; color:#666;">
  72. 系统环境要求必须满足下列所有条件,否则系统或系统部份功能将无法使用。
  73. </div>
  74. <table width="726" border="0" align="center" cellpadding="0" cellspacing="0" class="twbox">
  75. <tr>
  76. <th width="200" align="center"><strong>需开启的变量或函数</strong></th>
  77. <th width="80"><strong>要求</strong></th>
  78. <th width="400"><strong>实际状态及建议</strong></th>
  79. </tr>
  80. <tr>
  81. <td>OpenSSL</td>
  82. <td align="center">On </td>
  83. <td><?php echo $sp_openssl; ?> <small>(不符合将无法完成<a href="https://www.dedebiz.com" target="_blank">DedeBIZ商业支持</a>)</small></td>
  84. </tr>
  85. <tr>
  86. <td>allow_url_fopen</td>
  87. <td align="center">On </td>
  88. <td><?php echo $sp_allow_url_fopen; ?> <small>(不符合要求将导致采集、远程资料本地化等功能无法应用)</small></td>
  89. </tr>
  90. <tr>
  91. <td>safe_mode</td>
  92. <td align="center">Off</td>
  93. <td><?php echo $sp_safe_mode; ?> <small>(本系统不支持在<span class="STYLE2">非win主机的安全模式</span>下运行)</small></td>
  94. </tr>
  95. <tr>
  96. <td>GD 支持 </td>
  97. <td align="center">On</td>
  98. <td><?php echo $sp_gd; ?> <small>(不支持将导致与图片相关的大多数功能无法使用或引发警告)</small></td>
  99. </tr>
  100. <tr>
  101. <td>MySQL 支持</td>
  102. <td align="center">On</td>
  103. <td><?php echo $sp_mysql; ?> <small>(不支持无法使用本系统)</small></td>
  104. </tr>
  105. <tr>
  106. <td>Sockets</td>
  107. <td align="center">On </td>
  108. <td><?php echo $sp_sockets; ?> <small>(不符合将无法使用<a target="_blank" href="https://www.dedebiz.com/download#dedebiz">DedeBIZ商业组件</a>)</small></td>
  109. </tr>
  110. </table>
  111. <div class="pr-title"><h3>目录权限检测</h3></div>
  112. <div style="padding:2px 8px 0px; line-height:33px; height:26px; overflow:hidden; color:#666;">
  113. 系统要求必须满足下列所有的目录权限全部可读写的需求才能使用,其它应用目录可安装后在管理后台检测。
  114. </div>
  115. <table width="726" border="0" align="center" cellpadding="0" cellspacing="0" class="twbox">
  116. <tr>
  117. <th width="300" align="center"><strong>目录名</strong></th>
  118. <th width="212"><strong>读取权限</strong></th>
  119. <th width="212"><strong>写入权限</strong></th>
  120. </tr>
  121. <?php
  122. foreach($sp_testdirs as $d)
  123. {
  124. ?>
  125. <tr>
  126. <td><?php echo $d; ?></td>
  127. <?php
  128. $fulld = DEDEROOT.str_replace('/*','',$d);
  129. $rsta = (is_readable($fulld) ? '<font color=green>[√]读</font>' : '<font color=red>[×]读</font>');
  130. $wsta = (TestWrite($fulld) ? '<font color=green>[√]写</font>' : '<font color=red>[×]写</font>');
  131. echo "<td>$rsta</td><td>$wsta</td>\r\n";
  132. ?>
  133. </tr>
  134. <?php
  135. }
  136. ?>
  137. </table>
  138. <div class="btn-box">
  139. <button type="button" class="btn btn-danger" value="" onclick="window.location.href='index.php';">后退</button>
  140. <button type="button" class="btn btn-danger" value="" onclick="window.location.href='index.php?step=3';" >继续</button>
  141. </div>
  142. </div>
  143. </div>
  144. <div class="foot">
  145. </div>
  146. </body>
  147. </html>