ECSHOP更改后台管理地址的方法(ECSHOP 2.6.0)

  最近由于要改一个ECSHOP商城的后台地址(为了安全考虑吧,我觉得没啥用,好多大网站的后台地址大家都知道,也没怎么样是吧?~~ 举个例子:http://u.cctv.com 中央电视台旅游频道的页面 后台地址http://u.cctv.com/dede/ DEDE的哦,而且还没验证码……貌似废话太多了),费了好大劲,把所有的文件都打开了个遍,下面我把改的步骤说一下吧,以把后台地址从“admin”改成“control”为例

  1.把下列文件指定行的“admin”改成“control”,前面是文件名,后面是行号(注意不要改含“admin”的变量名,比如$admin_site或$c_admin)
  date/config.php 23
  admin/index.php 812
  admin/database.php 20
  admin/get_password.php 107
  admin/goods.php 19
  admin/check_file_priv.php 34
  admin/includes/init.php 31 83 84 196 296
  include/lib_main.php 1741
  include/cls_ecshop.php 130 131

  2.最后把根目录下后台目录名“admin”改成“control“就OK了


( ! ) Warning: Missing argument 1 for cwppos_show_review(), called in /data/www/enjoyphp/wp-content/themes/flat/content-single.php on line 29 and defined in /data/www/enjoyphp/wp-content/plugins/wp-product-review/includes/legacy.php on line 18
Call Stack
#TimeMemoryFunctionLocation
10.0000355176{main}( ).../index.php:0
20.0001355464require( '/data/www/enjoyphp/wp-blog-header.php' ).../index.php:17
30.186610162952require_once( '/data/www/enjoyphp/wp-includes/template-loader.php' ).../wp-blog-header.php:19
40.187910234096include( '/data/www/enjoyphp/wp-content/themes/flat/single.php' ).../template-loader.php:74
50.279810801864get_template_part( ).../single.php:5
60.279810802384locate_template( ).../general-template.php:167
70.279810802480load_template( ).../template.php:643
80.279810802864require( '/data/www/enjoyphp/wp-content/themes/flat/content-single.php' ).../template.php:686
90.285610787600cwppos_show_review( ).../content-single.php:29

发表评论

电子邮件地址不会被公开。 必填项已用*标注