From 88ad244786dfdc3d184a8cf564d11cffe92ee460 Mon Sep 17 00:00:00 2001 From: "Jonathan.Wage" Date: Thu, 6 Sep 2007 18:14:31 +0000 Subject: [PATCH] Trying to fix manual. --- .../apps/frontend/modules/manual/actions/actions.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/apps/frontend/modules/manual/actions/actions.class.php b/website/apps/frontend/modules/manual/actions/actions.class.php index 0165f53b7..f307b3356 100644 --- a/website/apps/frontend/modules/manual/actions/actions.class.php +++ b/website/apps/frontend/modules/manual/actions/actions.class.php @@ -186,10 +186,10 @@ class manualActions extends sfActions spl_autoload_register('autoload'); // Temporary directory used by cache and LaTeX to Pdf conversion - $tempDir = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'tmp'; + $tempDir = $manualPath.'new'.DIRECTORY_SEPARATOR.'tmp'; // The file where cached data is saved - $cacheFile = $tempDir . DIRECTORY_SEPARATOR . 'cache.sq3'; + $cacheFile = $tempDir.DIRECTORY_SEPARATOR.'cache.sq3'; $cache = new Cache($cacheFile);