Skip to content

Commit bdabb06

Browse files
committed
Fix cache directory not found warning in templating system.
1 parent 351c2b6 commit bdabb06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/lib/classes/tpl_ini.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public static function vlibTemplate () {
8989

9090
/* the following are only used by the vlibTemplateCache class. */
9191

92-
'CACHE_DIRECTORY' => $conf["template"]["cache_dir"],
92+
'CACHE_DIRECTORY' => (isset($conf["template"]["cache_dir"]))?$conf["template"]["cache_dir"]:'',
9393
// Directory where the cached filesystem
9494
// will be set up (full path, and must be writable)
9595
// '/' or '\' off the end of the directory.

0 commit comments

Comments
 (0)