Posts: 6
Threads: 5
Joined: Mar 2010
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
Posts: 972
Threads: 27
Joined: Aug 2009
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.
Posts: 1,848
Threads: 86
Joined: Aug 2009
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.
-
Chris
Thanks for using GetSimple! - Download
Please do not email me directly for help regarding GetSimple. Please post all your questions/problems in the forum!
Posts: 972
Threads: 27
Joined: Aug 2009
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.
Posts: 1,848
Threads: 86
Joined: Aug 2009
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)
-
Chris
Thanks for using GetSimple! - Download
Please do not email me directly for help regarding GetSimple. Please post all your questions/problems in the forum!
Posts: 15
Threads: 1
Joined: Mar 2010
This is a great option security
Sorry for my little english :rolleyes:
Thx for GS