diff --git a/src/Html.php b/src/Html.php
index bcb2f50..9b35836 100644
--- a/src/Html.php
+++ b/src/Html.php
@@ -116,9 +116,10 @@ protected function getFileInfo()
{
$files = get_included_files();
$info = [];
-
+ $rootPath = app()->getRootPath();
+
foreach ($files as $key => $file) {
- $info[] = $file . ' ( ' . number_format(filesize($file) / 1024, 2) . ' KB )';
+ $info[] = str_replace($rootPath, DIRECTORY_SEPARATOR, $file) . ' ( ' . number_format(filesize($file) / 1024, 2) . ' KB )';
}
return $info;