Error adding activity or resource

Re: Error adding activity or resource

by Yana Konstantinovsky -
Number of replies: 0
Hello Howard,


Yes of course i checked the file is there smile

If it helps this is the content of the file :


 * Jumps to a given relative or Moodle absolute URL.

 * Mostly used for accessibility.

 *

 * @copyright 1999 Martin Dougiamas  http://dougiamas.com

 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

 * @package course

 */

require('../config.php');

$jump = required_param('jump', PARAM_RAW);

$PAGE->set_url('/course/jumpto.php');

if (!confirm_sesskey()) {

    print_error('confirmsesskeybad');

}

if (strpos($jump, '/') === 0 || strpos($jump, $CFG->wwwroot) === 0) {

    redirect(new moodle_url($jump));

} else {

    print_error('error');

}