Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

change admin directory


endanagle

Recommended Posts

hello,

 

newbie to osCommerce here...

 

Need a bit of help - a client has asked me to work with an osCommerce site he is using.

 

Its moved to a new server, but there is already server control panel stuff in the admin/ directory. I want to change it to something like dbadmin/

 

I renamed the admin directory to dbadmin, but all the links inside still point to admin/

 

I have looked through the config files, but can't see where its specified.

 

I know you specify this in the original installation, but can it be changed after that?

 

Tks

 

Enda

--

Link to comment
Share on other sites

Open admin/includes/configure.php in your editor, and change all the necessary directory locations from 'admin/' to 'dbadmin/'.

 

You will need to do the same in the catalog/includes/configure.php file too!

 

This should now make all links point to the correct directory.

 

Back up before you edit these files, just in case!!

Reddy to Rumble

 

Thank you osCommerce and all who Contribute to her!

Link to comment
Share on other sites

admin/includes/configure.php in newer versions. Previously, this was in admin/includes/application_top.php. It is possible that you might have a local configuration, admin/includes/local/configure.php. The define is DIR_WS_ADMIN.

 

Good luck,

Matt

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...