aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/smarty/smarty/docs/programmers/api-functions/api-get-compile-dir.md
blob: 3bfae7306804f959c4cbaa960db9dbd1e7482217 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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).