Home
last modified time | relevance | path

Searched refs:savefile (Results 1 – 1 of 1) sorted by relevance

/dokuwiki/lib/plugins/config/core/
H A DWriter.php17 protected $savefile; variable in dokuwiki\\plugin\\config\\core\\Writer
25 $this->savefile = end($config_cascade['main']['local']);
40 if (file_exists($this->savefile)) {
41 if (file_exists($this->savefile . '.bak.php')) @unlink($this->savefile . '.bak.php');
42 … if (!io_rename($this->savefile, $this->savefile . '.bak.php')) throw new \Exception('no backup');
45 if (!$fh = @fopen($this->savefile, 'wb')) {
46 … io_rename($this->savefile . '.bak.php', $this->savefile); // problem opening, restore the backup
64 if ($conf['fperm']) chmod($this->savefile, $conf['fperm']);
65 $this->opcacheUpdate($this->savefile);
78 @touch($this->savefile);
[all …]