Skip to content

Commit

Permalink
Merge pull request #52 from mevdschee/master
Browse files Browse the repository at this point in the history
add ui.include.php
  • Loading branch information
mevdschee authored Oct 17, 2021
2 parents 7f0696a + 86163f9 commit fda975c
Show file tree
Hide file tree
Showing 2 changed files with 14,459 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@ function run(string $base, array $dirs, string $filename, array $ignore)
include 'tmp_' . $filename;
ob_end_clean();
rename('tmp_' . $filename, $filename);
$data = substr($data, 0, strrpos($data, "\n// file: webroot/index.php"));
file_put_contents(str_replace('.php', '.include.php', $filename), $data);
$end = microtime(true);
$time = ($end - $start) * 1000;
echo sprintf("%d files combined in %d ms into '%s'\n", $count, $time, $filename);
Expand Down
Loading

0 comments on commit fda975c

Please sign in to comment.