RE: two CSS are being pulled from by index.php

Emmett <[email protected]>
Newsgroups gmane.comp.web.oscommerce.general
Message-ID <0919bafdf632b41c4b0b8c7cbb3bc72e@osCommerce-Forums>
This message was sent from: General Support
http://forums.oscommerce.com/viewtopic.php?p=227117#227117
----------------------------------------------------------------

In dir includes/configure.php
I changed this:
define('DIR_WS_CATALOG', '/'); // absolute path required
(I'm just guessing here)
Do I change this:
define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
To this:
define('DIR_WS_DOWNLOAD_PUBLIC' . 'pub/');
and this:
define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG);
to this:
define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . '/');
and this:
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
to this:
define('DIR_FS_DOWNLOAD' . 'download/');
and this:
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
to this:
define('DIR_FS_DOWNLOAD_PUBLIC' . 'pub/');

These are the lines of code in the configure.php file that have reference to the catalog dir.
A little more help here please.

Is there really a need to put the contents of the admin dir into the root?
Two dirs in there like Images and Includes are also in catalog. I cannot understand why the admin directory needs to be in the root. Does the store access the admin dir for anything?
I do not think modom is correct in saying: "All of the files in the catalog folder and the admin folder need to be in root if you want your www.domain.com to show the first page of the store."
With only all files from catalog in the root everything is working fine.(apparently anyway. There may be something going on I don't know about.)
With the catalog dir still in the root the configure.php file was locating the necessary files it needed from there. I only figured that out when I started making a change to the css file which was in the root. The configure.php file was calling the css file that was in the catalog dir so my changes were not being implemented.

Thank You
Emmett
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.