Файловый менеджер - Редактировать - /var/www/jonas-eriksen.dk/wiki/lib/plugins/config/core/Setting/SettingNumericopt.php
Назад
<?php namespace dokuwiki\plugin\config\core\Setting; /** * Class setting_numericopt */ class SettingNumericopt extends SettingNumeric { // just allow an empty config protected $pattern = '/^(|[-]?[0-9]+(?:[-+*][0-9]+)*)$/'; /** * @inheritdoc * Empty string is valid for numericopt */ public function update($input) { if($input === '') { if($input == $this->local) return false; $this->local = $input; return true; } return parent::update($input); } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка