Lines Matching refs:savefile
17 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);
79 $this->opcacheUpdate($this->savefile);
106 if (!$this->savefile) return true;
107 if (!is_writable(dirname($this->savefile))) return true;
108 if (file_exists($this->savefile) && !is_writable($this->savefile)) return true;