From 57def0d195c91068f29acb3823f763d1ba93e435 Mon Sep 17 00:00:00 2001
From: Thomas Bruederli <thomas@roundcube.net>
Date: Fri, 15 Nov 2013 11:45:26 -0500
Subject: [PATCH] Use absolute paths in default config

---
 config/defaults.inc.php |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/config/defaults.inc.php b/config/defaults.inc.php
index fc7e92f..b4c0206 100644
--- a/config/defaults.inc.php
+++ b/config/defaults.inc.php
@@ -276,10 +276,10 @@
 
 // use this folder to store log files (must be writeable for apache user)
 // This is used by the 'file' log driver.
-$config['log_dir'] = 'logs/';
+$config['log_dir'] = RCUBE_INSTALL_PATH . 'logs/';
 
 // use this folder to store temp files (must be writeable for apache user)
-$config['temp_dir'] = 'temp/';
+$config['temp_dir'] = RCUBE_INSTALL_PATH . 'temp/';
 
 // expire files in temp_dir after 48 hours
 // possible units: s, m, h, d, w

--
Gitblit v1.9.1