X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FCore%2FTheme.php;h=5da067e73b7006b9c824ad4362a76c3161d9cc9c;hb=06284e60073f374c1bd411e0bba6474a13c14f10;hp=6eb1587be37a665d1d87129a28b0ac90cb818e72;hpb=3cef3ab107f87f999cf4adcc909259925a631cea;p=friendica.git diff --git a/src/Core/Theme.php b/src/Core/Theme.php index 6eb1587be3..5da067e73b 100644 --- a/src/Core/Theme.php +++ b/src/Core/Theme.php @@ -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);