• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • This community is user driven. Be polite with other users.
    • We recommend purchasing a Chevereto license to participate in this community.
    • Purchase a Community Subscription to get even faster ticket response times.

How to rename admin directory

Status
Not open for further replies.
You want a complety rename like /myname is the new admin and /admin doesn't do anything?
 
There isn't a easy way to do this like a configurable value but yet you can still do it editing 2 files. First of all make sure that the admin folder has been renamed and then open includes/chevereto.php and change this:
PHP:
define('__CHV_FOLDER_ADMIN__', 'admin/');

To this:
PHP:
define('__CHV_FOLDER_ADMIN__', 'xxx/');

Then open includes/classes/class.handler.php and change this (it appears two times in this file, change both of them):
PHP:
$this->base_request!=='admin'

To this:
PHP:
$this->base_request!=='xxx'

And you will have moved the admin folder. I will enable this as a configurable option for 2.4
 
Status
Not open for further replies.
Back
Top