Smarty Icon

You may use the Smarty logo according to the trademark notice.

Smarty Template Engine Smarty Template Engine

For sponsorship, advertising, news or other inquiries, contact us at:

Sites Using Smarty

Advertisement

Name

getCompileDir() — returns the directory where compiled templates are stored

Description

string getCompileDir();

Example 14.24. getCompileDir()


<?php

// get directory where compiled templates are stored
$compileDir = $smarty->getCompileDir();

?>

   

See also setCompileDir() and $compile_dir.