|
Moodle
2.2.1
http://www.collinsharper.com
|
Go to the source code of this file.
Namespaces | |
| namespace | tool |
Enumerations | |
| enum | NO_DEBUG_DISPLAY |
Variables | |
| $relativepath = get_file_argument() | |
| if(!$relativepath) else if($relativepath{0}!= '/') | $filepath = $CFG->dataroot . '/codecoverage' . $relativepath |
| $filename = basename($filepath) | |
| $args = explode('/', ltrim($relativepath, '/')) | |
| $alloweddirs = array('dbtest', 'unittest') | |
| if(!isset($args[0])||!in_array($args[0], $alloweddirs)) | $allowedextensions = array('text/html', 'text/css', 'image/gif', 'application/x-javascript') |
| enum NO_DEBUG_DISPLAY |
Definition at line 30 of file coveragefile.php.
| $alloweddirs = array('dbtest', 'unittest') |
Definition at line 58 of file coveragefile.php.
| if (!isset($args[0])||!in_array($args[0], $alloweddirs)) $allowedextensions = array('text/html', 'text/css', 'image/gif', 'application/x-javascript') |
Definition at line 64 of file coveragefile.php.
| $args = explode('/', ltrim($relativepath, '/')) |
Definition at line 55 of file coveragefile.php.
| $filename = basename($filepath) |
Definition at line 52 of file coveragefile.php.
| if (!$relativepath) else if ($relativepath{0}!= '/') $filepath = $CFG->dataroot . '/codecoverage' . $relativepath |
Definition at line 51 of file coveragefile.php.
| $relativepath = get_file_argument() |
Definition at line 40 of file coveragefile.php.