|
[Tikiwiki-cvs] tiki setup_smarty.php,1.27.2.1,1.27.2.2
From: <sylvieg@us...> - 2004-09-16 14:38
|
Update of /cvsroot/tikiwiki/tiki
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13345
Modified Files:
Tag: BRANCH-1-9
setup_smarty.php
Log Message:
was not testing the good compiled templates
Index: setup_smarty.php
===================================================================
RCS file: /cvsroot/tikiwiki/tiki/setup_smarty.php,v
retrieving revision 1.27.2.1
retrieving revision 1.27.2.2
diff -u -d -r1.27.2.1 -r1.27.2.2
--- setup_smarty.php 26 Aug 2004 17:38:21 -0000 1.27.2.1
+++ setup_smarty.php 16 Sep 2004 14:38:48 -0000 1.27.2.2
@@ -76,6 +76,7 @@
$_smarty_cache_id = $lg . $_smarty_cache_id;
$_smarty_compile_id = $lg . $_smarty_compile_id;
+ $this->_compile_id = $lg . $_smarty_compile_id; // not pretty but I don't know how to change id for get_compile_path
$isCompiled = $this->_is_compiled($_smarty_tpl_file, $this->_get_compile_path($_smarty_tpl_file));
if (!$isCompiled) {
$lgSave = $language;
@@ -90,6 +91,7 @@
$language = $lgSave;
include ("lang/$language/language.php");
}
+
return ereg_replace("^[ \t]*", "", $res);
}
function is_cached($_smarty_tpl_file, $_smarty_cache_id = null, $_smarty_compile_id = null) {
|
| Thread | Author | Date |
|---|---|---|
| [Tikiwiki-cvs] tiki setup_smarty.php,1.27.2.1,1.27.2.2 | <sylvieg@us...> |