Home « Server software «
Documentation: collections/configure.php
collections/configure.php - Define collections and related parameters
Use this script to modify following parameters:collection_names[]
- list of names
collection_titles[]
- list of titles
collection_paths[]
- list of paths to files (used internally to access files)
collection_urls[]
- list of URLs to files (to be used by browsers to fetch files)
collection_introductions[]
- list of introduction blocks of text (used in collection lists)
collection_descriptions[]
- list of description blocks of text (used at collection index pages)
collection_prefixes[]
- list of prefix blocks of text (inserted at each collection page)
collection_suffixes[]
- list of suffix blocks of text (inserted at each collection page)
collection_visibilities[]
- to control access to the collection
Configuration information is saved into
collections/parameters.include.php
.
If YACS is prevented to write to the file, it displays parameters to allow for a manual update.The file
collections/parameters.include.php.bak
can be used to restore
the active configuration before the last change.If the file
demo.flag
exists, the script assumes that this instance
of YACS runs in demonstration mode.
In this mode the edit form is displayed, but parameters are not saved in the configuration file.This script is a reference file of this system.
Licence: GNU Lesser General Public License
Auteurs:
- Bernard Paques bernard.paques@bigfoot.com
Testeurs:
- Ghjmora