PDA

View Full Version : Possible to edit $show['admincplink']?


Saurav
Thu 29th May '08, 5:55am
I want to edit the contents of ['admincplink'] if its possible. Is it even possible, if yes how?
Its because I renamed the /admincp directory for extra security and I also added the new name on config.php
But if a Administrator gets hacked on my site, the hacker will know the location of Admin Control Panel because of this in the footer:

<if condition="$show['admincplink']"><a href="$admincpdir/index.php$session[sessionurl_q]">$vbphrase[admin]</a> -</if>I could just remove that but that means I will need to edit 20 skins.

Thank You.

Zachery
Thu 29th May '08, 6:04am
You could also add an htaccess form to your folder, which means even if they did discover its location by some method they could not access it.

Saurav
Thu 29th May '08, 6:15am
I have added a .htacess but I dont want the person to even know where the directory is located.
I am guessing its not possible to edit the contents of ['admincplink'] then?

Zachery
Thu 29th May '08, 7:09am
The system needs to know where it is, you can remove it from the templates, but thats it.

Saurav
Thu 29th May '08, 7:59am
Ok thank you.