Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Rename catalog directory after installation


Elmo

Recommended Posts

May I ask if I want to rename the /catalog directory (in root directory) to another name but I cannot find the option in the admin panel to reset the path, may I ask how I can reset everything so that the script will run properly after I rename the .catlog directory to another name?

Best regards,

 

Elmo

Link to comment
Share on other sites

you can name the catalog folder and the admin folder to anything you want - you need to edit the admin/includes/configure.php and catalog/includes/configure.php files to change the default folder names to match the new path names

Link to comment
Share on other sites

Thanks Jeff!! May I confirm if I need to change these two lines (both?) in /catalog/includes/configure.php?

 

 

define('DIR_WS_CATALOG', '/catalog/'); // absolute path required

 

define('DIR_FS_CATALOG', '/home/virtual/site12/fst/var/www/html/catalog/');

 

 

and these two lines in /admin/includes/configure.php?

 

define('DIR_WS_CATALOG', '/catalog/'); // absolute path required

define('DIR_FS_CATALOG', '/home/virtual/site12/fst/var/www/html/catalog/'); // absolute path required

 

 

 

Sorry If my question is stupid hehe, I don't much about PHP and I just want to make sure I won't make any mistakes.

Best regards,

 

Elmo

Link to comment
Share on other sites

if you are changing the name 'catalog' to something else, then wherever 'catalog' appears in both configure.php files you need to change 'catalog' to the new name

Link to comment
Share on other sites

  • 2 weeks later...

Archived

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

×
×
  • Create New...