diff --git a/backup/backup.php b/backup/backup.php index 4e8ba890acf..f85945127ac 100644 --- a/backup/backup.php +++ b/backup/backup.php @@ -15,6 +15,15 @@ // You should have received a copy of the GNU General Public License // along with Moodle. If not, see . +/** + * This script is used to configure and execute the backup proccess. + * + * @package core + * @subpackage backup + * @copyright Moodle + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ + require_once('../config.php'); require_once($CFG->dirroot . '/backup/util/includes/backup_includes.php'); require_once($CFG->dirroot . '/backup/moodle2/backup_plan_builder.class.php'); diff --git a/backup/import.php b/backup/import.php index 04681c9b1ba..177befc1cfc 100644 --- a/backup/import.php +++ b/backup/import.php @@ -1,5 +1,29 @@ . + +/** + * This script is used to configure and execute the import proccess. + * + * @package core + * @subpackage backup + * @copyright Moodle + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ + // Require both the backup and restore libs require_once('../config.php'); require_once($CFG->dirroot . '/backup/util/includes/backup_includes.php'); diff --git a/backup/restore.php b/backup/restore.php index ab97369cb6c..461b7d5cb4b 100644 --- a/backup/restore.php +++ b/backup/restore.php @@ -1,5 +1,27 @@ . + +/** + * This script is used to configure and execute the restore proccess. + * + * @package core + * @subpackage backup + * @copyright Moodle + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ require_once('../config.php'); require_once($CFG->dirroot . '/backup/util/includes/restore_includes.php'); diff --git a/course/publish/backup.php b/course/publish/backup.php index c081b734b03..63615c13636 100644 --- a/course/publish/backup.php +++ b/course/publish/backup.php @@ -20,14 +20,14 @@ // // /////////////////////////////////////////////////////////////////////////// -/* +/** + * This page display the publication backup form + * * @package course * @subpackage publish * @author Jerome Mouneyrac * @license http://www.gnu.org/copyleft/gpl.html GNU GPL * @copyright (C) 1999 onwards Martin Dougiamas http://dougiamas.com - * - * This page display the publication backup form */ require_once('../../config.php');