mirror of
https://github.com/moodle/moodle.git
synced 2025-02-22 19:06:51 +01:00
The embedded files are now converted into the proper file area on the conversion. The previous usage of $CFG->wwwroot/file.php was wrong for two reasons: (1) the moodle.xml does not (should not) contain these links but $@FILEPHP@$ placeholder and (2) even if it did, we could not compare to our wwwroot but to the original wwwroot. Also fixed the actual list of fields being written into page.xml - the previous version included legacy fields (like type, reference and friends).
This file is part of Moodle - http://moodle.org/ Moodle is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Moodle is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Moodle. If not, see <http://www.gnu.org/licenses/>. copyright 2009 Petr Skoda (http://skodak.org) license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later Page module ============= Page module is a successor to original 'html' and 'text' type plugins of Resource module. TODO: * implement portfolio support (MDL-20076) * new backup/restore and old restore migration (MDL-20077)