Skip to content

getCacheDir()

return the directory where the rendered template\'s output is stored

Description

string

getCacheDir

<?php

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

?>

See also setCacheDir() and $cache_dir.