Code

Moved image
[gosa.git] / gosa-core / debian / patches / 01_fix_smarty_location.dpatch
1 #! /bin/sh /usr/share/dpatch/dpatch-run
2 ## 01_fix_smarty_location.dpatch by  <cajus@localhost>
3 ##
4 ## All lines beginning with `## DP:' are a description of the patch.
5 ## DP: No description.
7 @DPATCH@
8 diff -urNad gosa-core~/include/php_setup.inc gosa-core/include/php_setup.inc
9 --- gosa-core~/include/php_setup.inc    2008-03-17 23:52:36.000000000 +0100
10 +++ gosa-core/include/php_setup.inc     2008-04-07 23:12:32.000000000 +0200
11 @@ -274,7 +274,7 @@
12  ini_set("include_path",".:$BASE_DIR/include:$BASE_DIR/include/utils/excel");
13  
14  /* Do smarty setup */
15 -require("smarty/Smarty.class.php");
16 +require("/usr/share/php/smarty/libs/Smarty.class.php");
17  $smarty = new Smarty;
18  $smarty->template_dir = $BASE_DIR.'/ihtml/';
19  $smarty->caching= false;