.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. It will create a local_food_include directory and will either create or populate a public_html/shop
directory hierarchy. If your site does not use public_html as the DOCUMENT_ROOT, you will need to move the contents of that
directory to an appropriate location for your web server.
.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 to the local-food-coop include files that were extracted 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 which is located in the local_food_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 added to the local_food_include/ directory
to override any configuration settings if desired. This can be useful for maintaining mirrors and for testing settings
without changing the main configuration file. To use the override file, just redefine any of the configuration
settings from the config_foodcoop.php file and the override value will prevail.
shop/grfx/logo.jpg file to use
your own logo.