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