From 27d7fc49f8b9fe52cb94fda227ff3a0937d497f3 Mon Sep 17 00:00:00 2001 From: Dave Lawrence Date: Thu, 17 Oct 2013 12:02:42 -0400 Subject: Revert for now Bug 887117 - Move the compiled template cache dir to a directory in the document root to avoid storing on NFS --- Bugzilla/Constants.pm | 2 +- Bugzilla/Install/Filesystem.pm | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'Bugzilla') diff --git a/Bugzilla/Constants.pm b/Bugzilla/Constants.pm index bfc734088..ef3afeccb 100644 --- a/Bugzilla/Constants.pm +++ b/Bugzilla/Constants.pm @@ -650,7 +650,7 @@ sub bz_locations { # make sure this still points to the CGIs. 'cgi_path' => $libpath, 'templatedir' => "$libpath/template", - 'template_cache' => "$libpath/template_cache", + 'template_cache' => "$datadir/template", 'project' => $project, 'localconfig' => "$libpath/$localconfig", 'datadir' => $datadir, diff --git a/Bugzilla/Install/Filesystem.pm b/Bugzilla/Install/Filesystem.pm index 21f07f2d5..1abac0154 100644 --- a/Bugzilla/Install/Filesystem.pm +++ b/Bugzilla/Install/Filesystem.pm @@ -281,7 +281,6 @@ sub FILESYSTEM { # Directories that cgi scripts can write to. "$datadir/db" => DIR_CGI_WRITE, $attachdir => DIR_CGI_WRITE, - $template_cache => DIR_CGI_WRITE, $graphsdir => DIR_CGI_WRITE | DIR_ALSO_WS_SERVE, $webdotdir => DIR_CGI_WRITE | DIR_ALSO_WS_SERVE, # Directories that contain content served directly by the web server. -- cgit v1.2.3-24-g4f1b