Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Secure Administration


WhiteBlade

Recommended Posts

Posted

Ok I have 2 questions about the admin section.

 

I would like to change the place where my admin thing are. I can load easily the index.php from admin directory but the rest doesn't load cause it trying to get the link from the old directory where it was before, so I whould like to know where to change that I just can't find it.

 

The other thing whould be to add a username and a password to log in the administration section. So if you guys have a script I can had to this where the username and password whould be save in another directory or something that is safe I whould like to know please !! Something easy to do cause I'M not really good in php.

 

Thanks a lot.

Posted

the cpanel ???

 

Where is that ?? All I have is the Administation where you see a blue scare written Choose an action.. and all the action under it :(

Posted

Ok I found how to change the directory for the admin section.

 

If you open configure.php in admin/include/configure.php

 

You change the following line

 

define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required

 

define('DIR_FS_ADMIN', '/home/www/[your domain]/catalog/admin/'); // absolute pate required

 

You have to change what is in red that support your server you put your new folder name and location.

 

Now working on the password hehe

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...