/home/techb158/exp.abdallabala.com/vendor/mpdf/mpdf/src
NameSizeModeActions
Barcode/-0755rm
Color/-0755rm
Config/-0755rm
Conversion/-0755rm
Css/-0755rm
Exception/-0755rm
File/-0755rm
Fonts/-0755rm
Gif/-0755rm
Image/-0755rm
Language/-0755rm
Log/-0755rm
Output/-0755rm
Pdf/-0755rm
Shaper/-0755rm
Tag/-0755rm
Utils/-0755rm
Writer/-0755rm
Barcode.php50780644editdlrm
Cache.php23480644editdlrm
CssManager.php787280644editdlrm
DirectWrite.php149290644editdlrm
Form.php688730644editdlrm
FpdiTrait.php118730644editdlrm
functions-dev.php1650644editdlrm
Gradient.php347480644editdlrm
HTMLParserMode.php7310644editdlrm
Hyphenator.php49590644editdlrm
Mpdf.php9575750644editdlrm
MpdfException.php730644editdlrm
MpdfImageException.php820644editdlrm
Otl.php2543070644editdlrm
OtlDump.php1669780644editdlrm
PageFormat.php23910644editdlrm
RemoteContentFetcher.php34210644editdlrm
ServiceFactory.php45120644editdlrm
SizeConverter.php34690644editdlrm
Strict.php15350644editdlrm
TableOfContents.php334510644editdlrm
Tag.php74050644editdlrm
TTFontFile.php1728180644editdlrm
TTFontFileAnalysis.php145510644editdlrm
Ucdn.php1319570644editdlrm
Edit: /home/techb158/exp.abdallabala.com/vendor/mpdf/mpdf/src/Cache.php (2348B)
createBasePath($basePath)) { throw new \Mpdf\MpdfException(sprintf('Temporary files directory "%s" is not writable', $basePath)); } $this->basePath = $basePath; $this->cleanupInterval = $cleanupInterval; } protected function createBasePath($basePath) { if (!file_exists($basePath)) { if (!$this->createBasePath(dirname($basePath))) { return false; } if (!$this->createDirectory($basePath)) { return false; } } if (!is_writable($basePath) || !is_dir($basePath)) { return false; } return true; } protected function createDirectory($basePath) { if (!mkdir($basePath)) { return false; } if (!chmod($basePath, 0777)) { return false; } return true; } public function tempFilename($filename) { return $this->getFilePath($filename); } public function has($filename) { return file_exists($this->getFilePath($filename)); } public function load($filename) { return file_get_contents($this->getFilePath($filename)); } public function write($filename, $data) { $tempFile = tempnam($this->basePath, 'cache_tmp_'); file_put_contents($tempFile, $data); $path = $this->getFilePath($filename); rename($tempFile, $path); return $path; } public function remove($filename) { return unlink($this->getFilePath($filename)); } public function clearOld() { $iterator = new DirectoryIterator($this->basePath); /** @var \DirectoryIterator $item */ foreach ($iterator as $item) { if (!$item->isDot() && $item->isFile() && !$this->isDotFile($item) && $this->isOld($item)) { unlink($item->getPathname()); } } } private function getFilePath($filename) { return $this->basePath . '/' . $filename; } private function isOld(DirectoryIterator $item) { return $this->cleanupInterval ? $item->getMTime() + $this->cleanupInterval < time() : false; } public function isDotFile(DirectoryIterator $item) { return substr($item->getFilename(), 0, 1) === '.'; } }