mirror of
https://github.com/smarty-php/smarty.git
synced 2026-05-05 04:04:10 +02:00
- bugfix/improvement of compileAlltemplates() follow symlinks in template folder (PHP >= 5.3.1) https://github.com/smarty-php/smarty/issues/224
clear internal cache and expension handler for each template to avoid possible conflicts https://github.com/smarty-php/smarty/issues/231
This commit is contained in:
@@ -17,16 +17,17 @@ class Smarty_Internal_Method_CompileAllConfig extends Smarty_Internal_Method_Com
|
||||
*
|
||||
* @api Smarty::compileAllConfig()
|
||||
*
|
||||
* @param \Smarty $smarty
|
||||
* @param \Smarty $dummy smarty object of calling instance
|
||||
* @param \Smarty $smarty passed smarty object
|
||||
* @param string $extension file extension
|
||||
* @param bool $force_compile force all to recompile
|
||||
* @param int $time_limit
|
||||
* @param int $max_errors
|
||||
*
|
||||
* @return integer number of template files recompiled
|
||||
* @return int number of template files recompiled
|
||||
*/
|
||||
public function compileAllConfig(Smarty $smarty, $extension = '.conf', $force_compile = false, $time_limit = 0,
|
||||
$max_errors = null)
|
||||
public function compileAllConfig(Smarty $dummy, Smarty $smarty, $extension = '.conf', $force_compile = false,
|
||||
$time_limit = 0, $max_errors = null)
|
||||
{
|
||||
return $this->compileAll($smarty, $extension, $force_compile, $time_limit, $max_errors, true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user