Unify CGI deploy functions

This commit is contained in:
crazywhalecc
2025-10-25 03:03:40 +08:00
parent b59a06face
commit bab330b64e
2 changed files with 4 additions and 7 deletions

View File

@@ -571,7 +571,7 @@ class SourcePatcher
*/
public static function patchWindowsCGITarget(): void
{
// search Makefile code line contains "$(BUILD_DIR)\php.exe:"
// search Makefile code line contains "$(BUILD_DIR)\php-cgi.exe:"
$content = FileSystem::readFile(SOURCE_PATH . '/php-src/Makefile');
$lines = explode("\r\n", $content);
$line_num = 0;