[phpBB Debug] PHP Warning: in file [ROOT]/includes/crs/crs_misc_functions.php on line 37: mime_content_type(): Empty filename or path
[phpBB Debug] PHP Warning: in file [ROOT]/includes/crs/crs_misc_functions.php on line 37: mime_content_type(): Empty filename or path
Zen Cart 源代码 5.renaming_the_admin_directory.html

Zen Cart 源代码 5.renaming_the_admin_directory.html




下载文件

文件名: 5.renaming_the_admin_directory.html
文件类型: HTML文件
文件大小: 5.38 KiB
MD5: 95c0ff0a806a1469f7b9a47e039dc005

5.renaming_the_admin_directory.html - 关闭高亮
  1. <!--
  2. /**
  3. * @package documentation
  4. * @copyright Copyright 2003-2006 Zen Cart Development Team
  5. * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
  6. * @version $Id: 5.renaming_the_admin_directory.html 12650 2009-03-20 09:46:22Z drbyte $
  7. */
  8. //-->
  9. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  10. <style type="text/css">
  11. <!--
  12. body, table{ font-family:Verdana, Arial, Helvetica, sans-serif; font-size:14px; }
  13. table.intro {border-color:C96E29; }
  14. td.intro{background-color:#EEEEEE ; border-color:5778ce; font-size:13px; }
  15. td.plainbox, div.callout {background-color: #d7e0f2; border: 1px dashed; border-color: C96E29; padding: 8; margin:5 40 5 40;}
  16. .heading {background-color:5778CE; font-weight:bold; font-size:14px; width: 100%; }
  17. .title1 {color:C96E29; font-weight:bold; font-size:22px; }
  18. .title2 {color:C96E29; font-weight:bold; font-size:13px; }
  19. .small {font-size:12px ;}
  20. .error {color:FF0000; }
  21. .filename {font-family: mono, "Courier New", Courier ; font-size:14px; color: c96e29;}
  22. .pseudolink {text-decoration:underline; color:5778CE;}
  23. h1.intro { color: #ffffff; border:1px solid #aca893; background-color: #c96e29;  font-size: 22px;   padding: 4px;}
  24. h1 { color: #ffffff;    border:1px solid #aca893;   background-color: #5778ce;   font-size: 20px;   padding: 4px;}
  25. h2 { color: #c96e29;    font-size: 18px;}
  26. h3 { color: #5778ce;    font-size: 16px; margin-bottom:0px;}
  27. h4 { color: #c96e29;    font-size: 14px;}
  28.  
  29.  
  30. -->
  31. <title>安装 Zen Cart 中文版</title>
  32. </head>
  33.  
  34. <table class="intro" cellspacing="4" cellpadding="6" border="3" width="748px" align="center">
  35. <tr><td class="intro">
  36. <center><h1 class="intro">欢迎使用Zen Cart中文版 ...</h1></center>
  37. <br />
  38. Zen Cart&trade;软件使用的是GNU通用公共许可协议,您可以免费使用、修改Zen Cart&trade;软件。
  39. <br />
  40. <br />
  41. 虽然该软件是免费的,但是欢迎您每次下载新版本前捐款,以帮助我们继续软件开发、升级,和维护免费论坛。
  42. <br />
  43. <br />
  44. 捐款网址:
  45. <a href="http://www.zen-cart.com/index.php?main_page=infopages&pages_id=14" target="_blank">Zen Cart&trade; 团队</a>
  46. <br /><br />
  47. 感谢您的支持<br />
  48. <em>Zen Cart China</em><br />
  49. <br />
  50.  
  51. <span class="small">
  52. Zen Cart&trade; 源自: Copyright 2003 osCommerce<br />
  53. 该软件希望提供有用的功能,但[不做保证],也不保证[适用于特定用途]<br />
  54. 该软件受限于GNU通用公共许可协议<br /><br />
  55. </span>
  56. </td></tr></table>
  57.  
  58. <br />
  59. <table border="3" width="748px" align="center" cellpadding="6">
  60.   <tr>
  61. <td align="center"><img src="osi-certified-120x100.png" /><br />
  62. 该软件通过OSI开源软件认证。<br />
  63. OSI Certified是开源动力的认证标志。
  64. </td></tr></table>
  65. <br />
  66.  
  67. <table border="3" width="748px" align="center" cellpadding="6">
  68.   <tr>
  69. <td>
  70. <h1 class="intro">Admin目录安全</h1>
  71. <div>
  72. <h1>What is this article about? </h1>
  73. It is recommended for additional security that you rename your
  74. admin directory after installation. This way, it will be significantly harder for hackers to find your admin area or attempt any attack on breaking into it. <br>
  75. <br />
  76. </div>
  77. <div><h1>How to Rename the Admin Directory</h1>
  78. <p>Before making any changes, make sure to have a current backup of your files and your database.</p>
  79. <h2>1- Open your admin configuration file: <span class="filename">admin/includes/configure.php</span></h2>
  80. <p>In this file, change all instances of <span class="filename">/admin/</span> to your chosen name:</p>
  81. <p>Change this section:</p>
  82. <p class="filename">// NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!<br>
  83. // * DIR_WS_* = Webserver directories (virtual/URL)<br>
  84. // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)<br>
  85. define('DIR_WS_ADMIN', '/admin/');<br>
  86. define('DIR_WS_CATALOG', '/');<br>
  87. define('DIR_WS_HTTPS_ADMIN', '/admin/');<br>
  88. define('DIR_WS_HTTPS_CATALOG', '/');</p>
  89. <p>Change this section:</p>
  90. <p class="filename">// * DIR_FS_* = Filesystem directories (local/physical)<br>
  91. //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/<br>
  92. define('DIR_FS_ADMIN', '/home/mystore.com/www/public/admin/');<br>
  93. define('DIR_FS_CATALOG', '/home/mystore.com/www/public/');<br>
  94. </p>
  95. <h2>2- Rename your admin directory </h2>
  96. <p>Using your FTP software, find your Zen Cart&trade; <span class="filename">/admin/ </span>directory. Rename the directory to match the new name used in step 1 above when you edited your <span class="filename">admin/includes/configure.php</span><br>
  97. </p>
  98. </div>
  99.  
  100. <div>
  101. <h1>Additional Information </h1>
  102. <p>For more information on site-security, see <a href="./important_site_security_recommendations.html" target="_blank">important_site_security_recommendations.html</a></p>
  103. <p>For additional help and support issues, visit our <strong>FAQ's</strong> and our <strong>Support Forums</strong> on the web.<br />
  104. <a href="http://www.zen-cart.com" target="_blank"><strong>Zen Cart&trade; Website</strong></a>
  105. <br />
  106. <br />
  107. <br />
  108. <em>Good Luck with the software and Enjoy the Zen Cart&trade; Experience!</em> <br />
  109. <br />
  110. </p>
  111. </div>
  112. </td>
  113. </tr>
  114. <p align="center"><em>Zen Cart 中文版 版权所有 2004 - 2010</em></p>
  115. <br /><br />
  116. </body>
  117. </html>


cron