Skip to content

Commit 6cdcb96

Browse files
committed
Correct the path in the inline styles comment
1 parent 5411b0e commit 6cdcb96

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)