What is Smarty?
Why use it?
Use Cases and Work Flow
Syntax Comparison
Template Inheritance
Best Practices
Crash Course
You may use the Smarty logo according to the trademark notice.
For sponsorship, advertising, news or other inquiries, contact us at:
This is the full system path to the location of the Smarty core
files. If not defined, Smarty will default this constant to the
internals/
sub-directory below
SMARTY_DIR
.
If defined, the path must end with a slash/.
Use this constant when manually including any of the core.* files.
Example 11.2. SMARTY_CORE_DIR
<?php // load core.get_microtime.php require_once(SMARTY_CORE_DIR . 'core.get_microtime.php'); ?>
See also
$smarty.const