GetSimple Support Forum

Full Version: Change the folder Admin
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi everyone

I have some problem with the server, my problem is basically that i need to change the name the folder admin, because the server has a configuration with admin folder to manager the website and i can't use the admin folder.

Any advice ?

Thanks in advance

Ron
Just rename and change lines 15 and 16 in index.php?
Code:
$admin_relative = 'admin/inc/';
$lang_relative = 'admin/';

Try that and report back, I’ve never tried renaming it to be fair.
im not sure all hardcoded references in the code to /admin/ have been switched to the new defined constants though. In fact im sure there are plenty that havent.
You’re right Chris, a google search through the trunk gives an idea of hard coded references. These will all need to be edited when you want to rename the admin folder. This does not mean it’s impossible though.
in a future release would would like to theoretically edit all those to be the constant - then make a gsconfig option to name the admin folder whatever you want (for special cases like this)
This is a great option security Smile