Forum Moderators: coopster
<tr><td>absolute path to picture:</td><td><?php echo DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG. DIR_WS_IMAGES . $banner;?></td></tr>
(HTTP_CATALOG_SERVER . DIR_WS_CATALOG_IMAGES . $banner['affiliate_banners_image'], $page_title)
Thanks
In that case, your best bet is to go to the forum for the script itself (assuming it has one - osCommerce definitely does) and ask your question there. There is probably a standard way to put your catalog in site root.
In any case, the DIR_WS_CATALOG is clearly meant to be a site-wide configuration. You should not modify 83 files, but find the place where DIR_WS_CATALOG is defined and make a change just in that one config file (or in the DB if it is taking config values from the DB). osCommerce does (or used to - haven't used it in forever) define many constants from the DB, but as a general rule if it is defined in the DB, you should change it via the admin interface, not by changing the DB values manually.
Otherwise, look for code like this
define('DIR_WS_CATALOG', 'catalog/');
and make your changes there. Again, though, I would start by asking on the forum for the script itself.