From a4282381c23c7f3c98c815ee223fea211c8931ea Mon Sep 17 00:00:00 2001 From: cajus Date: Fri, 27 Jun 2008 12:51:47 +0000 Subject: [PATCH] Fixed template location git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11468 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/debian/patches/02_fix_template_location.dpatch | 4 ++-- gosa-core/include/functions.inc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gosa-core/debian/patches/02_fix_template_location.dpatch b/gosa-core/debian/patches/02_fix_template_location.dpatch index 522adcbe0..ba048bc8b 100755 --- a/gosa-core/debian/patches/02_fix_template_location.dpatch +++ b/gosa-core/debian/patches/02_fix_template_location.dpatch @@ -12,8 +12,8 @@ diff -urNad gosa-core~/include/functions.inc gosa-core/include/functions.inc define ("CONFIG_FILE",$_SERVER['CONFIG_FILE']); } --define ("CONFIG_TEMPLATE_DIR", "../contrib/"); -+define ("CONFIG_TEMPLATE_DIR", "/usr/share/doc/gosa/contrib/"); +-define ("CONFIG_TEMPLATE_DIR", "../contrib"); ++define ("CONFIG_TEMPLATE_DIR", "/usr/share/doc/gosa"); define ("TEMP_DIR","/var/cache/gosa/tmp"); /* Define get_list flags */ diff --git a/gosa-core/include/functions.inc b/gosa-core/include/functions.inc index 52fe8b791..1bc2cf019 100644 --- a/gosa-core/include/functions.inc +++ b/gosa-core/include/functions.inc @@ -40,7 +40,7 @@ if(!isset($_SERVER['CONFIG_FILE'])){ define ("CONFIG_FILE",$_SERVER['CONFIG_FILE']); } -define ("CONFIG_TEMPLATE_DIR", "../contrib/"); +define ("CONFIG_TEMPLATE_DIR", "../contrib"); define ("TEMP_DIR","/var/cache/gosa/tmp"); /* Define get_list flags */ -- 2.30.2