BaseTemplatePath
This is documentation about a configuration directive, which can be placed within Movable Type’s core configuration file, mt-config.cgi, to customize the behavior of the system.
This configuration directive specifies a recommended path to separate user files from system files.
Specifies the directory where linked files are stored when “Link to File” is specified in the template editing screen.
If not specified, the UserTemplatePath configuration directive will be used if it is configured. If UserTemplatePath is also not specified, the directory directly under where the Movable Type application is installed will be used as the storage location.
When a relative path filename is set using the “Link to File” feature for global templates, the behavior will be as follows:
- If
BaseTemplatePathis configured, files underBaseTemplatePathwill be read and written. - If
BaseTemplatePathis not configured butUserTemplatePathis configured, files under the directory defined first inUserTemplatePathwill be read and written. (MultipleUserTemplatePathdirectives can be configured.) - If both
BaseTemplatePathandUserTemplatePathare not configured, files directly under the MT directory will be read and written.
Usage
BaseTemplatePath /usr/www/mt/tmpl
Default Value
None