moodle-local_replication/test.php
2022-01-13 08:12:46 +01:00

12 lines
305 B
PHP

<?php
require_once("../../config.php");
require_once($CFG->dirroot . '/backup/util/includes/backup_includes.php');
$id = $_GET["id"];
$course = get_course($id);
$replicationconfig = get_config('local_replication');
$directory = $replicationconfig->directory;
$context = context_course::instance($id);