mirror of
https://github.com/smarty-php/smarty.git
synced 2025-10-26 18:01:36 +01:00
24 lines
351 B
Markdown
24 lines
351 B
Markdown
|
|
getCompileDir()
|
||
|
|
|
||
|
|
returns the directory where compiled templates are stored
|
||
|
|
|
||
|
|
Description
|
||
|
|
===========
|
||
|
|
|
||
|
|
string
|
||
|
|
|
||
|
|
getCompileDir
|
||
|
|
|
||
|
|
|
||
|
|
<?php
|
||
|
|
|
||
|
|
// get directory where compiled templates are stored
|
||
|
|
$compileDir = $smarty->getCompileDir();
|
||
|
|
|
||
|
|
?>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
See also [`setCompileDir()`](#api.set.compile.dir) and
|
||
|
|
[`$compile_dir`](#variable.compile.dir).
|