Code

Updated 01 patch for rpms
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 15 Feb 2010 13:39:52 +0000 (13:39 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 15 Feb 2010 13:39:52 +0000 (13:39 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15626 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/redhat/01_fix_template_location.patch

index 49b29f67228507b6cd0db9a70502c64a2ae99109..274cf32b646a7feaa815f8c3c98b2ff546d45579 100644 (file)
@@ -1,13 +1,12 @@
 diff -urNad gosa-core~/include/functions.inc gosa-core/include/functions.inc
---- gosa-core~/include/functions.inc    2010-02-02 14:02:18.000000000 +0100
-+++ gosa-core/include/functions.inc     2010-02-02 14:01:25.000000000 +0100
+--- gosa-core~/include/functions.inc    2008-05-30 10:39:33.000000000 +0200
++++ gosa-core/include/functions.inc     2008-06-03 09:16:19.000000000 +0200
 @@ -40,7 +40,7 @@
-     e.g.  SetEnv CONFIG_FILE gosa.conf.2.6
-  */
- if(!isset($_SERVER['CONFIG_FILE'])){
--  define ("CONFIG_FILE", "gosa.conf");
-+  define ("CONFIG_FILE", "/usr/share/doc/gosa");
- }else{
-   define ("CONFIG_FILE",$_SERVER['CONFIG_FILE']);
  }
 
+ /* Define common locatitions */
+-define ("CONFIG_TEMPLATE_DIR", "../contrib");
++define ("CONFIG_TEMPLATE_DIR", "/usr/share/doc/gosa");
+ define ("TEMP_DIR","/var/cache/gosa/tmp");
+
+ /* Define get_list flags */