Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/monara/public_html/test.athavaneng.com/themes.php on line 99

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 226

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 227

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 228

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 229

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 230

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 231
. /** * The library file for the file cache store. * * This file is part of the file cache store, it contains the API for interacting with an instance of the store. * This is used as a default cache store within the Cache API. It should never be deleted. * * @package cachestore_file * @category cache * @copyright 2012 Sam Hemelryk * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ require_once($CFG->dirroot.'/cache/forms.php'); /** * Form for adding a file instance. * * @copyright 2012 Sam Hemelryk * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ class cachestore_file_addinstance_form extends cachestore_addinstance_form { /** * Adds the desired form elements. */ protected function configuration_definition() { $form = $this->_form; $form->addElement('text', 'path', get_string('path', 'cachestore_file')); $form->setType('path', PARAM_RAW); $form->addHelpButton('path', 'path', 'cachestore_file'); $form->addElement('checkbox', 'autocreate', get_string('autocreate', 'cachestore_file')); $form->setType('autocreate', PARAM_BOOL); $form->addHelpButton('autocreate', 'autocreate', 'cachestore_file'); $form->disabledIf('autocreate', 'path', 'eq', ''); $form->addElement('checkbox', 'singledirectory', get_string('singledirectory', 'cachestore_file')); $form->setType('singledirectory', PARAM_BOOL); $form->addHelpButton('singledirectory', 'singledirectory', 'cachestore_file'); $form->addElement('checkbox', 'prescan', get_string('prescan', 'cachestore_file')); $form->setType('prescan', PARAM_BOOL); $form->addHelpButton('prescan', 'prescan', 'cachestore_file'); $form->addElement('checkbox', 'asyncpurge', get_string('asyncpurge', 'cachestore_file')); $form->setType('asyncpurge', PARAM_BOOL); $form->addHelpButton('asyncpurge', 'asyncpurge', 'cachestore_file'); $form->addElement('text', 'lockwait', get_string('lockwait', 'cachestore_file')); $form->setDefault('lockwait', 60); $form->setType('lockwait', PARAM_INT); $form->addHelpButton('lockwait', 'lockwait', 'cachestore_file'); } }