ACIL FM
Dark
Refresh
Current DIR:
/opt/cpanel/ea-wappspector/vendor/rector/rector/src/Skipper/FileSystem
/
opt
cpanel
ea-wappspector
vendor
rector
rector
src
Skipper
FileSystem
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
FnMatchPathNormalizer.php
760 B
chmod
View
DL
Edit
Rename
Delete
PathNormalizer.php
221 B
chmod
View
DL
Edit
Rename
Delete
Edit file: /opt/cpanel/ea-wappspector/vendor/rector/rector/src/Skipper/FileSystem/FnMatchPathNormalizer.php
<?php declare (strict_types=1); namespace Rector\Skipper\FileSystem; /** * @see \Rector\Tests\Skipper\FileSystem\FnMatchPathNormalizerTest */ final class FnMatchPathNormalizer { public function normalizeForFnmatch(string $path) : string { if (\substr_compare($path, '*', -\strlen('*')) === 0 || \strncmp($path, '*', \strlen('*')) === 0) { return '*' . \trim($path, '*') . '*'; } if (\strpos($path, '..') !== \false) { /** @var string|false $realPath */ $realPath = \realpath($path); if ($realPath === \false) { return ''; } return \Rector\Skipper\FileSystem\PathNormalizer::normalize($realPath); } return $path; } }
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply