- ⌂ PHP API
- Packages
- io_comand
- io_comand_auth
- io_comand_email
- io_comand_env
- io_comand_file
- io_comand_help
- io_comand_io
- io_comand_log
- io_comand_login
- io_comand_mvc
- io_comand_package
- io_comand_publication
- io_comand_repo
- io_comand_script
- io_comand_search
- io_comand_systemtask
- io_comand_tools
- io_comand_users
- io_comand_util
- io_comand_web
- io_comand_webservice
- io_comand_websocket
- com_webcomand
Package Configuration
Default configuration files are found in the config
folder within a package. Default configuration files are for reference and should not be modified. To customize a package configuration, update the main config.php
file located in the folder where webCOMAND is installed.
Example Package Configuration
File: <webcomand>/packages/io_comand_publication/config/publication.php
<?php
/**
* Defines basic parameters for publishing in the COMAND API.
* These are supplemented by settings defined in the
* publications themselves.
*
* To override these defaults, create a modified copy at:
* <webcomand>/config/io_comand_publication/publication.php
*/
$config = [
// Fully-qualified base path to write all published files to.
// Publications define their own subpaths based on this.
'publish_path' => COMAND_HOME.'/files/publications'
];
To customize the default configuration, find or create a corresponding section in the main config.php file in the folder where webCOMAND was installed.
Example Custom Configuration
File: <webcomand>/config.php:
<?php
/**
* Override default package configuration settings.
*/
$config = [
'io_comand_publication' => [
'publication' => [
// Fully-qualified base path to write all published files to.
// Publications define their own subpaths based on this.
'publish_path' => COMAND_HOME.'/files/publications'
]
]
];
For information about common configuration files, see Configuration in the Admin Guide.