// enrol.php - allows admin to edit all enrollment variables
// Yes, enrol is correct English spelling.
- include('../config.php');
+ require_once('../config.php');
$enrol = optional_param('enrol', $CFG->enrol, PARAM_SAFEDIR);
$CFG->pagepath = 'enrol';
// enrol_config.php - allows admin to edit all enrollment variables
// Yes, enrol is correct English spelling.
- include("../config.php");
+ require_once("../config.php");
$enrol = required_param('enrol', PARAM_ALPHA);
$CFG->pagepath = 'enrol/' . $enrol;
// filter.php
// Edit text filter settings
- require_once '../config.php';
- require_once $CFG->libdir.'/tablelib.php';
+ require_once('../config.php');
+ require_once($CFG->libdir.'/tablelib.php');
// check for allowed access
require_login();
// filters.php
// Edit list of available text filters
- require_once '../config.php';
- require_once $CFG->libdir.'/tablelib.php';
+ require_once('../config.php');
+ require_once($CFG->libdir.'/tablelib.php');
// defines
define('FILTER_TABLE','filter_administration_table');