Page 1 of 1
change admin directory in cmsms 1.10.x?
Posted: Tue Dec 06, 2011 8:15 pm
by SolsWebdesign
Hello,
Usually I change the admin directory in the config.php by changing something like $config['admin_dir'] = 'whatever'; but in cmsms 1.10.x I seem to miss a $config['admin'] in the config.php. Can I still change the admin directory by adding this?

Update: no such luck: I get a lot of strange "add me's" in the admin/login.php screen and whatever/login.php gives me a not found error.
How to change admin/login.php?
Re: change admin directory in cmsms 1.10.x?
Posted: Tue Dec 06, 2011 9:01 pm
by uniqu3
In the /doc folder you will find a .pdf file with all possible and available $config settings.
$config['admin_dir'] = 'foo'; works fine for me.
Re: change admin directory in cmsms 1.10.x?
Posted: Wed Dec 07, 2011 11:35 am
by SolsWebdesign
Thank you, I found the PDF but I get a lot of errors when I add $config['admin_dir'] = 'foo'; to my config file.
www.yoursite.xx/foo/ will give me a not found error. and
www.yoursite.xx/admin/login.php still gives me a login backend but with all sorts of strange "Add me" sentences. I cleared cache and stuff but nothing helps. What am I missing?
Re: change admin directory in cmsms 1.10.x?
Posted: Wed Dec 07, 2011 11:49 am
by uniqu3
And you did RENAME /admin folder to foo?
Or using some Admin theme that is not 1.10.x compatible, or have some .htaccess rule that redirects you?
Re: change admin directory in cmsms 1.10.x?
Posted: Wed Dec 14, 2011 2:46 pm
by QueenOfStarWears
Just to add my 2-cents...
It worked for me.
Added
$config['admin_dir'] = 'pizza';
to the config file
Renamed the admin dir to
pizza
Using NClearnGrey & CMSMS version 1.10.2
Re: change admin directory in cmsms 1.10.x?
Posted: Wed Dec 14, 2011 2:59 pm
by SolsWebdesign
Thank you, Uniqu3, for pointing me in the right direction: the new FTP program I used was a bit strange: it didn't rename the directory, it just made a copy with a strange name... It took me a while to figure it out. Back to Firezilla I guess
