Content Pipeline Guide > ACL Reference > ACL Publishing Functions > append_composer_path
  
append_composer_path
append_composer_path (dir[, prepend])
The append_composer_path function appends dir to the directories specified by the set composerpath command. If the optional prepend argument is specified and non-zero, dir is added to the beginning of the path list, removing any later occurrence of the directory. If prepend is zero or omitted and if dir is already present in the path list, the path list is returned.
For example, if you want to append your composer directory stored in the composer subdirectory of the company directory, so your CCF files are searched last:
append_composer_path("/company/composer")
If you want to prepend your composer directory stored in the company subdirectory, so your CCF files are searched first:
append_composer_path('/company/composer',1)
If there is an Arbortext-path\custom\composer subdirectory at startup, the \custom\composer path is automatically prepended to the path for CCF files. Putting your CCF files in the \custom\composer subdirectory makes them automatically available, avoiding manual steps to add them to the path.