Файловый менеджер - Редактировать - /home/tuudkjt/globeasy/wp-content/plugins/reviewx/vendor/hassankhan/config/src/Writer/AbstractWriter.php
Назад
<?php namespace Rvx\Noodlehaus\Writer; use Rvx\Noodlehaus\Exception\WriteException; /** * Base Writer. * * @package Config * @author Jesus A. Domingo <jesus.domingo@gmail.com> * @author Hassan Khan <contact@hassankhan.me> * @author Filip Š <projects@filips.si> * @author Mark de Groot <mail@markdegroot.nl> * @link https://github.com/noodlehaus/config * @license MIT */ abstract class AbstractWriter implements WriterInterface { /** * {@inheritdoc} */ public function toFile($config, $filename) { $contents = $this->toString($config); $success = @\file_put_contents($filename, $contents); if ($success === \false) { throw new WriteException(['file' => $filename]); } return $contents; } }
| ver. 1.6 |
Github
|
.
| PHP 8.1.34 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка