webCOMAND

Script Configuration

The Script configuration specifies what features to make available when processing cScript and cTemplate code during the publish process.

  • modules - Array of cScript modules to load when processing cScript and cTemplate code during the publish process.  The following modules are available and used by default.

Example

To override defaults, add the following section to the COMAND Package Configuration.

<?php
$config = [
    'io_comand_publication' => [
        'script' => [
            'modules' => [
                '\io_comand_email\script',
                '\io_comand_file\script',
                '\io_comand_file\zip\script',
                '\io_comand_image\script',
                '\io_comand_pdf\script',
                '\io_comand_process\script\perl',
                '\io_comand_process\script\php',
                '\io_comand_publication\script',
                '\io_comand_repo\script\edit',
                '\io_comand_repo\script\read',
                '\io_comand_sql\script',
                '\io_comand_script\dependencies',
            ]
        ]
    ]
];