Skip to content

Commit 33e06da

Browse files
authored
Correct the path in the inline styles comment (#29)
2 parents 5411b0e + 6cdcb96 commit 33e06da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PhpInfo.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public function getHtml(int $flags = INFO_ALL): string
3636
if ($info === null) {
3737
return $error;
3838
}
39-
// Convert inline styles to classes defined in admin/info.css so we can drop CSP style-src 'unsafe-inline'
39+
// Convert inline styles to classes defined in src/assets/info.css so we can drop CSP style-src 'unsafe-inline'
4040
$info = str_replace('style="color: #', 'class="color-', $info);
4141
$info = $this->sanitizer->sanitize($info);
4242
return sprintf('<div id="phpinfo">%s</div>', $info);

0 commit comments

Comments
 (0)