GetSimple Support Forum
Change the folder Admin - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: Installation & Setup (http://get-simple.info/forums/forumdisplay.php?fid=5)
+--- Thread: Change the folder Admin (/showthread.php?tid=576)



Change the folder Admin - ronsandova - 2010-03-24

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


Change the folder Admin - Zegnåt - 2010-03-24

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.


Change the folder Admin - ccagle8 - 2010-03-24

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.


Change the folder Admin - Zegnåt - 2010-03-25

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.


Change the folder Admin - ccagle8 - 2010-03-25

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)


Change the folder Admin - mouffin - 2010-03-27

This is a great option security Smile