diff --git a/change_log.txt b/change_log.txt
index 15707d3b..5dbd1dc9 100644
--- a/change_log.txt
+++ b/change_log.txt
@@ -1,3 +1,7 @@
+24/06/2010
+- replace internal get_time() calls with standard PHP5 microtime(true) calls in Smarty_Internal_Utility
+
+
22/06/2010
- allow spaces between typecast and value in template syntax
- bugfix get correct count of traversables in {foreach} tag
diff --git a/libs/sysplugins/smarty_internal_utility.php b/libs/sysplugins/smarty_internal_utility.php
index 61528c50..83e62c60 100644
--- a/libs/sysplugins/smarty_internal_utility.php
+++ b/libs/sysplugins/smarty_internal_utility.php
@@ -73,12 +73,12 @@ class Smarty_Internal_Utility {
}
echo '
', $_dir, '---', $_template_file;
flush();
- $_start_time = $this->_get_time();
+ $_start_time = microtime(true);
try {
$_tpl = $this->smarty->createTemplate($_template_file);
if ($_tpl->mustCompile()) {
$_tpl->compileTemplateSource();
- echo ' compiled in ', $this->_get_time() - $_start_time, ' seconds';
+ echo ' compiled in ', microtime(true) - $_start_time, ' seconds';
flush();
} else {
echo ' is up to date';
@@ -131,12 +131,12 @@ class Smarty_Internal_Utility {
}
echo '
', $_dir, '---', $_config_file;
flush();
- $_start_time = $this->_get_time();
+ $_start_time = microtime(true);
try {
$_config = new Smarty_Internal_Config($_config_file, $this->smarty);
if ($_config->mustCompile()) {
$_config->compileConfigSource();
- echo ' compiled in ', $this->_get_time() - $_start_time, ' seconds';
+ echo ' compiled in ', microtime(true) - $_start_time, ' seconds';
flush();
} else {
echo ' is up to date';