12 lines
305 B
PHP
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);
|
|
|