fix for #734
This commit is contained in:
parent
feddc70baf
commit
aa5e4d5cd6
2 changed files with 11389 additions and 0 deletions
11387
api.include.php
Normal file
11387
api.include.php
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -93,6 +93,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: src/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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue