<?php
/**
- * @copyright Copyright (C) 2010-2021, the Friendica project
+ * @copyright Copyright (C) 2010-2022, the Friendica project
*
* @license GNU AGPL version 3 or any later version
*
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);