Registering File Paths
An additional option labeled path can be used when registering a configuration directive. This option should be used whenever the configuration directive stores a reference to a path on the filesystem (not a url, but a path). This enables Movable Type to convert all relative paths referenced by the directive to an absolute path automatically.
config_settings:
MyLogPath:
default: /var/log/mt/errors.log
path: 1
This page is part of the Movable Type Developer Guide
This page was last updated on 2008-09-17, 14:41.
Leave a note
Have a question? Please use the MT Forums. Notes submitted on documentation should pertain to tips & hints regarding documentation. Your note may be removed once its contents have been integrated into the body of the page.