Code

Updated patch 01
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 2 Feb 2010 12:14:01 +0000 (12:14 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 2 Feb 2010 12:14:01 +0000 (12:14 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15574 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/redhat/01_fix_template_location.patch

index cec7b1ee0e531c360a0673a1dafeb062073059f4..49b29f67228507b6cd0db9a70502c64a2ae99109 100644 (file)
@@ -2,11 +2,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
 @@ -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 */