chamilo/chamilo-lms

View on GitHub
public/main/course_info/download.php

Summary

Maintainability
A
0 mins
Test Coverage

Variable "archive_file" is not in valid camel caps format
Open

if (empty($extension) || !file_exists($archive_path.$archive_file)) {

Variable "archive_path" is not in valid camel caps format
Open

if (empty($extension) || !file_exists($archive_path.$archive_file)) {

Variable "archive_file" is not in valid camel caps format
Open

if (Security::check_abs_path($archive_path.$archive_file, $archive_path)) {

Variable "archive_file" is not in valid camel caps format
Open

$archive_file = isset($_GET['archive']) ? $_GET['archive'] : null;

Variable "archive_path" is not in valid camel caps format
Open

    $archive_path = api_get_path(SYS_ARCHIVE_PATH);

Variable "archive_file" is not in valid camel caps format
Open

$archive_file = str_replace(['..', '/', '\\'], '', $archive_file);

Variable "archive_file" is not in valid camel caps format
Open

$archive_file = str_replace(['..', '/', '\\'], '', $archive_file);

Variable "content_type" is not in valid camel caps format
Open

$content_type = '';

Variable "archive_path" is not in valid camel caps format
Open

if (Security::check_abs_path($archive_path.$archive_file, $archive_path)) {

Variable "archive_path" is not in valid camel caps format
Open

        $archive_path.$archive_file,

Variable "this_section" is not in valid camel caps format
Open

$this_section = SECTION_COURSES;

Variable "archive_file" is not in valid camel caps format
Open

        $archive_file

Variable "archive_file" is not in valid camel caps format
Open

        $archive_path.$archive_file,

Variable "archive_path" is not in valid camel caps format
Open

if (Security::check_abs_path($archive_path.$archive_file, $archive_path)) {

Variable "content_type" is not in valid camel caps format
Open

    $content_type = 'application/force-download';

Variable "content_type" is not in valid camel caps format
Open

    $content_type = 'application/force-download';

Variable "content_type" is not in valid camel caps format
Open

if (empty($content_type)) {

Variable "archive_path" is not in valid camel caps format
Open

    $archive_path = CourseArchiver::getBackupDir();

There are no issues that match your filters.

Category
Status