• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space

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