提交 092ea70b 编写于 作者: M mappu 提交者: Matt Bierner

extension/php: detect language via shebang (#26581)

Fixes #26580
上级 513b3b40
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
"PHP", "PHP",
"php" "php"
], ],
"firstLine": "^#!/.*\\bphp\\b",
"mimetypes": [ "mimetypes": [
"application/x-php" "application/x-php"
], ],
...@@ -119,4 +120,4 @@ ...@@ -119,4 +120,4 @@
"devDependencies": { "devDependencies": {
"@types/node": "^7.0.4" "@types/node": "^7.0.4"
} }
} }
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册