richard: server/kolab-webadmin/kolab-webadmin/php/admin/include mysmarty.php.in, 1.10, 1.11

cvs at kolab.org cvs at kolab.org
Sun Mar 30 21:44:21 CEST 2008


Author: richard

Update of /kolabrepository/server/kolab-webadmin/kolab-webadmin/php/admin/include
In directory doto:/tmp/cvs-serv25232/php/admin/include

Modified Files:
	mysmarty.php.in 
Log Message:
Make smarty compile location configurable, variable smarty_compiledir
is used for this.  See issue2538



Index: mysmarty.php.in
===================================================================
RCS file: /kolabrepository/server/kolab-webadmin/kolab-webadmin/php/admin/include/mysmarty.php.in,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- mysmarty.php.in	3 Jul 2007 14:55:17 -0000	1.10
+++ mysmarty.php.in	30 Mar 2008 19:44:19 -0000	1.11
@@ -35,9 +35,9 @@
 	$this->Smarty();
 	
 	$basedir = "$php_dir/@kolab_php_module_prefix at admin/";
-	$this->template_dir = $basedir.'templates/';
-	$this->compile_dir = $basedir.'templates_c/';
 	$this->config_dir = $basedir.'configs/';
+	$this->template_dir = $basedir.'templates/';
+	$this->compile_dir = '@smarty_compiledir@/';
 	//$this->cache_dir = $basedir.'cache/';
 	// Added for i18n management (Romain 05-03-03)
 	$this->register_function("tr", "translate");





More information about the commits mailing list