From 7c0a354464d84e45bcb6f57f691e2076d37d3a3d Mon Sep 17 00:00:00 2001 From: panariga Date: Wed, 12 Nov 2025 22:33:12 +0200 Subject: [PATCH] Update llmdumper.php --- llmdumper.php | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/llmdumper.php b/llmdumper.php index 8dcf349..03f9b7c 100644 --- a/llmdumper.php +++ b/llmdumper.php @@ -1,4 +1,5 @@ isDir()) { continue; @@ -100,14 +104,14 @@ foreach ($fileIterator as $file) { // Prepend the module directory name to the relative path as requested. $finalPath = $moduleDirName . DIRECTORY_SEPARATOR . $relativePath; - + // Read the file content. $content = file_get_contents($filePath); if ($content === false) { echo "WARNING: Could not read file: {$finalPath}\n"; continue; } - + // Create a header for this file's content to identify it in the dump. $fileHeader = " //- - - - - - - - - - START: {$finalPath} - - - - - - - - - -// @@ -135,5 +139,3 @@ echo "Dump complete!\n"; echo "- Files processed: {$fileCount}\n"; echo "- Total size: " . round($totalBytes / 1024, 2) . " KB\n"; echo "- Output file: {$outputFilePath}\n"; - -?> \ No newline at end of file