Home > Backend Development > PHP Tutorial > ecshop 2.72如何修改后台访问地址_PHP

ecshop 2.72如何修改后台访问地址_PHP

WBOY
Release: 2016-05-31 13:16:38
Original
769 people have browsed it

2.72版本之后修改后台登录地址非常方便,步骤如下:

1、修改 admin 文件夹名称为别人猜不到的,例如 ecshop

2、打开data/config.php文件

查找:

代码如下:


define('ADMIN_PATH','admin');

修改为(把其中的 admin 修改为 ecshop ):

代码如下:


define('ADMIN_PATH','ecshop');

3、这样访问 域名/ecshop 即可连接到后台。

是不是很简单呢,希望小伙伴们能够喜欢

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template