cvs: smarty /libs/core core.smarty_include.php

From: Date: Tue, 17 Jun 2003 16:47:35 +0000
Subject: cvs: smarty /libs/core core.smarty_include.php
Groups: php.smarty.cvs 
Request: Send a blank email to php-smarty-cvs+get-656@lists.php.net to get a copy of this message
messju Tue Jun 17 12:47:35 2003 EDT Modified files: /smarty/libs/core core.smarty_include.php Log: switched _process_template() to _is_compiled()-logic Index: smarty/libs/core/core.smarty_include.php diff -u smarty/libs/core/core.smarty_include.php:1.1 smarty/libs/core/core.smarty_include.php:1.2 --- smarty/libs/core/core.smarty_include.php:1.1 Mon Jun 16 11:18:38 2003 +++ smarty/libs/core/core.smarty_include.php Tue Jun 17 12:47:35 2003 @@ -34,7 +34,10 @@ $_smarty_compile_path = $this->_get_compile_path($params['smarty_include_tpl_file']); - if ($this->_process_template($params['smarty_include_tpl_file'], $_smarty_compile_path)) { + + if ($this->_is_compiled($params['smarty_include_tpl_file'], $_smarty_compile_path) + || $this->_compile_template($params['smarty_include_tpl_file'], $_smarty_compile_path)) + { include($_smarty_compile_path); }

« previous php.smarty.cvs (#656) next »