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
.
defined('MOODLE_INTERNAL') || die();
/**
* Installation for unoconv.
*
* @package fileconverter_unoconv
* @copyright 2017 Andrew Nicols
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
function xmldb_fileconverter_unoconv_install() {
global $CFG;
$unoconvpresent = !empty($CFG->pathtounoconv);
$unoconvpresent = $unoconvpresent && file_exists($CFG->pathtounoconv);
$unoconvpresent = $unoconvpresent && !is_dir($CFG->pathtounoconv);
$unoconvpresent = $unoconvpresent && file_is_executable($CFG->pathtounoconv);
if ($unoconvpresent) {
// Unoconv is currently configured correctly.
// Enable it.
$plugins = \core_plugin_manager::instance()->get_plugins_of_type('fileconverter');
$plugins['unoconv']->set_enabled(true);
}
}