We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
utils/vendor
1 parent ffee2a3 commit 6e86effCopy full SHA for 6e86eff
utils/check_permission_x.php
@@ -34,6 +34,7 @@ function findExecutableFiles($dir)
34
'admin/starter/builds',
35
'user_guide_src/add-edit-this-page',
36
];
37
+ $excludeFolder = 'utils/vendor';
38
39
$executableFiles = [];
40
@@ -53,6 +54,10 @@ function findExecutableFiles($dir)
53
54
if ($fileinfo->isFile() && is_executable($fileinfo->getPathname())) {
55
$filePath = $fileinfo->getPathname();
56
57
+ if (str_contains($filePath, $excludeFolder)) {
58
+ continue;
59
+ }
60
+
61
// Check allow list
62
if (in_array($filePath, $execFileList, true)) {
63
continue;
0 commit comments