[pkg-kolab] r299 - trunk/kolab-webadmin/debian/patches

Steffen Joeris white-guest at costa.debian.org
Wed Feb 8 15:46:49 UTC 2006


Author: white-guest
Date: 2006-02-08 15:46:49 +0000 (Wed, 08 Feb 2006)
New Revision: 299

Modified:
   trunk/kolab-webadmin/debian/patches/10-fix-require.dpatch
Log:
* we want to write into /var/lib/kolab/webadmin-templates/
instead of /usr/share/ ...


Modified: trunk/kolab-webadmin/debian/patches/10-fix-require.dpatch
===================================================================
--- trunk/kolab-webadmin/debian/patches/10-fix-require.dpatch	2006-02-08 15:34:03 UTC (rev 298)
+++ trunk/kolab-webadmin/debian/patches/10-fix-require.dpatch	2006-02-08 15:46:49 UTC (rev 299)
@@ -647,14 +647,23 @@
  
  function fill_form_for_modify( &$form, &$ldap_object ) {
    if (is_array($ldap_object['sn'])) $lastname = $ldap_object['sn'][0];
---- mysmarty.php.orig    2006-01-30 14:48:15.000000000 +0100
-+++ kolab-webadmin-0.4.0/php/admin/include/mysmarty.php        2006-02-08 15:42:41.000000000 +0100
+--- mysmarty.php.orig	2006-02-08 16:42:09.000000000 +0100
++++ kolab-webadmin-0.4.0/php/admin/include/mysmarty.php	2006-02-08 16:43:33.000000000 +0100
 @@ -19,7 +19,7 @@
   */
-
+ 
  require_once('config.php');
 -require_once('Smarty/Smarty.class.php');
 +require_once('smarty/libs/Smarty.class.php');
  require_once('locale.php');
-
+ 
  // PENDING: Remove this before production(!)
+@@ -36,7 +36,7 @@
+ 	
+ 	$basedir = "$php_dir/admin/";
+ 	$this->template_dir = $basedir.'templates/';
+-	$this->compile_dir = $basedir.'templates_c/';
++	$this->compile_dir = '/var/lib/kolab/webadmin-templates/';
+ 	$this->config_dir = $basedir.'configs/';
+ 	//$this->cache_dir = $basedir.'cache/';
+ 	// Added for i18n management (Romain 05-03-03)




More information about the pkg-kolab-devel mailing list