mirror of
https://github.com/smarty-php/smarty.git
synced 2025-07-02 02:11:00 +02:00
24 lines
346 B
Markdown
24 lines
346 B
Markdown
![]() |
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()`](#api.set.cache.dir) and
|
||
|
[`$cache_dir`](#variable.cache.dir).
|