exp:exptemplateengines
List the template engines: library found or not, version, file endings, settings, security policy, compiled-template cache.
Script bin/php/exptemplateengines.php, code in kernel/private/classes/commands/exptemplateengines.php. Run it from the installation root, as the user the web server runs as:
./console exp:exptemplateengines --help
./console exp:template:engines --help
php bin/php/exptemplateengines.php --helpHelp text
List the template engines of the installation
For each engine: whether its library is available, its version, the file endings it renders, its
settings, whether its security policy is on and where its compiled templates are kept.
./console exp:template:engines
./console exp:template:engines --format=json
Exit code: 0 every engine is available; 3 an engine's library is missing; 2 wrong options.Options
| Option | Value | Help |
|---|---|---|
--format | required | text (the default) or json |
Read from the option definitions in the code (startup(), getOptions(), options() or ezcConsoleOption). Every script also takes the standard options of the script framework (--help, --siteaccess, --debug, --quiet, --allow-root-user ...).
Related
Generated by ./console exp:help:examples from bin/php/exptemplateengines.php, kernel/private/classes/commands/exptemplateengines.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.