文件操作 - IsReadOnly.php
返回文件管理
返回主菜单
删除本文件
文件: /home/www/public/wp-content/plugins/give/src/Framework/FieldsAPI/Concerns/IsReadOnly.php
编辑文件内容
<?php namespace Give\Framework\FieldsAPI\Concerns; trait IsReadOnly { /** @var bool */ protected $readOnly = false; /** * @param bool $readOnly * * @return $this */ public function readOnly($readOnly = true) { $this->readOnly = $readOnly; return $this; } /** * @return bool */ public function isReadOnly() { return $this->readOnly; } }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件