Skip to content

Commit 32c0119

Browse files
committed
More Linux directory work
1 parent 1c67827 commit 32c0119

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PHPFUI/InstaDoc/Section/File.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public function generate(\PHPFUI\Page $page, string $fullClassPath) : \PHPFUI\Co
1414
$page->addStyleSheet("/css/Highlight/{$parameters['CSS']}.css");
1515
$page->addCSS("code{tab-size:{$parameters['t']};-moz-tab-size:{$parameters['t']}}");
1616
$hl = new \Highlight\Highlighter();
17-
$php = file_get_contents($fullClassPath);
17+
$php = file_get_contents(str_replace('\\', '/', $fullClassPath));
1818

1919
// Highlight some code.
2020
$highlighted = $hl->highlight('php', $php);

0 commit comments

Comments
 (0)