Skip to content

Commit dd38ff0

Browse files
committed
Move instruction to prevent phpcs warning
1 parent b4c94dc commit dd38ff0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@
3131
* @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
3232
*/
3333

34-
putenv('LC_ALL=en_GB.utf-8');
35-
3634
require_once(dirname(dirname(dirname(dirname(__FILE__)))).'/config.php');
3735
require_once($CFG->dirroot.'/admin/tool/moodlebox/forms.php');
3836
require_once($CFG->libdir.'/moodlelib.php');
3937
require_once($CFG->libdir.'/adminlib.php');
4038
require_once($CFG->libdir.'/tablelib.php');
4139
require_once(dirname(__FILE__).'/version.php');
4240

41+
putenv('LC_ALL=en_GB.utf-8');
42+
4343
admin_externalpage_setup('tool_moodlebox');
4444

4545
$PAGE->set_context(context_system::instance());

0 commit comments

Comments
 (0)