Copy the config.php.example
file into the same directory and rename it to config.php
, then change the configuration to your enviorment.
Each directory name in the direcory of the BOOTSTRAP_DATA_DIR
directory will be compared to the path segment after the bootstrap segment.
If a file in the directory and all sub directory matches it's content will be appened to the http response.
Exceptions:
- The file is a dot file (example:
.somename.js
) - The file starts with an underscore (example:
_metadata.ini
) - Files not matching the
extension_filter
set in the configuration
Name | Description |
---|---|
RNAME | Shows the file path relative from the BOOTSTRAP_DATA_DIR directory to the source file. This behavior can be disabled by setting the global BOOTSTRAP_DISABLE_RELATIVE_NAME = true . |
The _metadata.ini
in each directory can be used to specify information about the content.
Options:
Name | Value-Type | Description |
---|---|---|
mimetype |
String | Used to tell the client what mimetype the content is. Recommended so that the client dosen't need to determin for them self. |
comment_prefix |
String | What needs to be used to start a Comment in the content. Required to RNAME flag. |
comment_suffix |
String | What needs to be used to end a Comment in the content. (Can be set to an empty string) Required to RNAME flag. |
extension_filter |
String | The Extension that a file in the directories must have to be included in the output. |
support_comment |
Boolean | Whether the content supports comments. |