]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Theme.php
Merge pull request #11015 from MrPetovan/task/10979-frio-time-tooltip
[friendica.git] / src / Core / Theme.php
index 6eb1587be37a665d1d87129a28b0ac90cb818e72..5da067e73b7006b9c824ad4362a76c3161d9cc9c 100644 (file)
@@ -88,9 +88,9 @@ class Theme
                        return $info;
                }
 
-               $stamp1 = microtime(true);
+               DI::profiler()->startRecording('file');
                $theme_file = file_get_contents("view/theme/$theme/theme.php");
-               DI::profiler()->saveTimestamp($stamp1, "file");
+               DI::profiler()->stopRecording();
 
                $result = preg_match("|/\*.*\*/|msU", $theme_file, $matches);