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
. /** * Atto upgrade script. * * @package editor_atto * @copyright 2014 Damyon Wiese * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ defined('MOODLE_INTERNAL') || die(); /** * Run all Atto upgrade steps between the current DB version and the current version on disk. * @param int $oldversion The old version of atto in the DB. * @return bool */ function xmldb_editor_atto_upgrade($oldversion) { global $CFG; // Automatically generated Moodle v3.9.0 release upgrade line. // Put any upgrade step following this. if ($oldversion < 2021062400) { // The old default toolbar config for 311 and below. $oldtoolbar = 'collapse = collapse style1 = title, bold, italic list = unorderedlist, orderedlist, indent links = link files = emojipicker, image, media, recordrtc, managefiles, h5p style2 = underline, strike, subscript, superscript align = align insert = equation, charmap, table, clear undo = undo accessibility = accessibilitychecker, accessibilityhelper other = html'; // Check if the current toolbar config matches the old toolbar config. $sametoolbar = str_replace(["\r\n", "\r"], "\n", get_config('editor_atto', 'toolbar')) == $oldtoolbar; // Check if the current showgroups config matches the old showgroups config. $sameshowgroups = get_config('atto_collapse', 'showgroups') == 5; if ($sametoolbar && $sameshowgroups) { // If the site is still using the old defaults, upgrade to the new default. $newtoolbar = 'collapse = collapse style1 = title, bold, italic list = unorderedlist, orderedlist, indent links = link files = emojipicker, image, media, recordrtc, managefiles, h5p accessibility = accessibilitychecker, accessibilityhelper style2 = underline, strike, subscript, superscript align = align insert = equation, charmap, table, clear undo = undo other = html'; set_config('toolbar', $newtoolbar, 'editor_atto'); set_config('showgroups', 6, 'atto_collapse'); } upgrade_plugin_savepoint(true, 2021062400, 'editor', 'atto'); } // Automatically generated Moodle v4.0.0 release upgrade line. // Put any upgrade step following this. return true; }