Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Direct access to this script is forbidden.

  • Loading branch information...
commit 0168503ab2aa1c25464d1d46e219458d15a59dda 1 parent 993763b
ethem authored

Showing 1 changed file with 9 additions and 4 deletions. Show diff stats Hide diff stats

  1. +9 4 enrol/authorize/action.php
13 enrol/authorize/action.php
... ... @@ -1,11 +1,16 @@
1 1 <?php // $Id$
2 2
  3 +if (!defined('MOODLE_INTERNAL')) {
  4 + die('Direct access to this script is forbidden.'); /// It must be included from a Moodle page
  5 +}
  6 +
3 7 define('AN_APPROVED', '1');
4 8 define('AN_DECLINED', '2');
5   -define('AN_ERROR', '3');
6   -define('AN_DELIM', '|');
7   -define('AN_ENCAP', '"');
8   -require_once $CFG->dirroot.'/enrol/authorize/const.php';
  9 +define('AN_ERROR', '3');
  10 +define('AN_DELIM', '|');
  11 +define('AN_ENCAP', '"');
  12 +
  13 +require_once('const.php');
9 14
10 15 /**
11 16 * Gets settlement date and time

0 comments on commit 0168503

Please sign in to comment.
Something went wrong with that request. Please try again.