.htaccess file override for include directory path.
shop directory in DOCUMENT_ROOT. If you
are already using a directory by that name, you will either need to move it to a new location or modify your
local-food-coop installation accordingly. Details for that process are beyond the scope of these notes but you may
contact software@localfoodcoop.org for individual assistance.
/home/yourfoodsite/public_html/
or /home/yourfoodsite/yourfoodsite.com/, extract the software archive into the shop directory.
local_food_include directory above DOCUMENT_ROOT
shop directory is one called local_food_include. This
directory contains the configuration and other include files for running the local-food-coop site.
Because these files contain passwords and other sensitive data, they must be moved above the
DOCUMENT_ROOT. It is suggested to move the engire local_food_include directory into the
home directory just above DOCUMENT_ROOT.
.htaccess file to reflect your settings
shop directory is a hidden .htaccess file. It contains a line
that must identify the absolute pathname of the include directory. You will need to change the default setting
to match the path you used for the local-food-coop include files in the preceeding step. Change the portion of that
line shown in light blue below to match your account settings:
php_value include_path '/home/yourfoodsite/local_food_include/:.':. at the end of that directive because it allows include files within the immediate
directory of the script being executed.
.htaccess file with a soft-link to the one in the
shop directory. If you change the directory structure, you will need to adjust those soft links
accordingly. Furthermore, if you install any local-food-coop files outside the established shop
directory structure (such as membership forms), you will need to provide a proper .htaccess file
for them to work properly.
config_foodcoop.php file from the include directory. You should only need to modify values in the
top part of the file. Most of the configuration settings have example data that should be self-explanatory
config_override.php file can be used to override any of those settings if
desired. Normally that file is not needed except for maintaining mirrors or possibly for testing settings without
changing the main configuration file.
shop/grfx/logo.jpg file to use
your own logo.