Not for official support
We do not provide technical support in this forum.
If you want to contact our customer support, please use our support form.

Take the chance to buy
Shop-Script 5 at the low price
Save $30 only until May 31!
Your last chance!
8 days left

You are not logged in.

#1 2011-10-31 08:49

karlhelliwell
Member

Admin directory

Hi there

I want to change the /admin folder for security reasons, I have Shop-Script Premium.

I have a file called admin.php in the public folder, this changes it and accesses the back-end

however when I click a back end link the page is not found because it still has the /admin on the url

Thank you in advance

Karl

Offline

 

#2 2011-10-31 09:29

rat
Administrator

Re: Admin directory

You can edit the link in file index.php.


Be careful what you wish for — you might get it.

Offline

 

#3 2011-10-31 09:44

karlhelliwell
Member

Re: Admin directory

Thanks Rat

Sorry to have to ask, but, which line should I amend, also should the admin.php file be also changed

Thanks

Karl

Offline

 

#4 2011-10-31 11:37

karlhelliwell
Member

Re: Admin directory

//show admin a administrative mode link

    //if (isset($_SESSION["log"]) && !strcmp($_SESSION["log"], ADMIN_LOGIN))

    //    echo "<br><center><a href=\"admin.php\"><font color=red>".ADMINISTRATE_LINK."</font></a></center><p>";

If I change everything here to the new admin word, will it all work under the new name?

Thanks for your help Rat, appreciate

Offline

 

#5 2011-11-01 02:02

rat
Administrator

Re: Admin directory

It will not, because that file name is used to generate form submission URLs for backend pages (


Be careful what you wish for — you might get it.

Offline

 

Board footer

Powered by PunBB