[ Index ] |
PHP Cross Reference of DokuWiki |
[Summary view] [Print] [Text view]
1 <?php 2 3 namespace dokuwiki\plugin\config\core\Setting; 4 5 /** 6 * Class setting_savedir 7 */ 8 class SettingSavedir extends SettingString { 9 10 /** @inheritdoc */ 11 public function update($input) { 12 if($this->isProtected()) return false; 13 14 $value = is_null($this->local) ? $this->default : $this->local; 15 if($value == $input) return false; 16 17 if(!init_path($input)) { 18 $this->error = true; 19 $this->input = $input; 20 return false; 21 } 22 23 $this->local = $input; 24 return true; 25 } 26 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body