crm-rush/api/soft/smarty/4.5.2/docs/programmers/api-functions/api-get-cache-dir.md

346 B

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.