Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

exp:eztc

Compile the templates of a siteaccess into the template cache (--force recompiles all).

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/examples/commands/eztc.md

On this page

exp:eztc

Compile the templates of a siteaccess into the template cache (--force recompiles all).

Script bin/php/eztc.php, code in kernel/private/classes/commands/eztc.php. Run it from the installation root, as the user the web server runs as:

./console exp:eztc --help
php bin/php/eztc.php --help

Options

OptionValueHelp
--compile-directoryrequiredWhere to place compiled files, default is template/compiled in current cache directory
--www-dirrequiredThe part before the index.php in your URL, you should supply this if you are running in non-virtualhost mode
--index-filerequiredThe name of your index.php if you are running in non-virtualhost mode
--access-pathrequiredExtra access path
--forceForce compilation of template whether it has changed or not
--full-urlMakes sure generated urls have http:// in them (i.e. global), used mainly by sites that include the Exponential HTML (e.g payment gateways)
--no-full-urlMakes sure generated urls are relative to the site. (default)

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 ...).


Generated by ./console exp:help:examples from bin/php/eztc.php, kernel/private/classes/commands/eztc.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x