mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
14 lines
390 B
HTML
14 lines
390 B
HTML
<?php // $Id$
|
|
// This script prints the setup screen for any resource
|
|
// It does this by calling the setup method in the appropriate class
|
|
|
|
require_once("$CFG->dirroot/mod/resource/lib.php");
|
|
require_once("$CFG->dirroot/mod/resource/type/$form->type/resource.class.php");
|
|
|
|
$resourceclass = "resource_$form->type";
|
|
$resource = new $resourceclass();
|
|
|
|
$resource->setup($form);
|
|
|
|
?>
|