Commit 95f8ff65 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Use require_once() not require() in places where local/lib.php may have already included some libs


Signed-off-by: default avatarRichard Mansfield <richardm@catalyst.net.nz>
parent c3a944ca
......@@ -28,7 +28,7 @@
define('INTERNAL', 1);
define('INSTITUTIONALADMIN', 1);
require(dirname(dirname(dirname(__FILE__))) . '/init.php');
require('institution.php');
require_once('institution.php');
$id = param_integer('id');
$institution = new Institution(param_alpha('institution'));
......
......@@ -33,7 +33,7 @@ define('TITLE', get_string('mygroups'));
define('SECTION_PLUGINTYPE', 'core');
define('SECTION_PLUGINNAME', 'group');
define('SECTION_PAGE', 'mygroups');
require('group.php');
require_once('group.php');
$filter = param_alpha('filter', 'all');
$offset = param_integer('offset', 'all');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment