modxcms/revolution

View on GitHub
setup/index.php

Summary

Maintainability
A
1 hr
Test Coverage

Consider simplifying this complex logical expression.
Open

if (!$isCommandLine && (!isset($_GET['s']) || $_GET['s'] != 'set') && !isset($_SESSION['session_test'])) {
    $_SESSION['session_test']= 1;
    echo "<html><head><title>Loading...</title><script>window.location.href='" . MODX_SETUP_URL . "?s=set';</script></head><body></body></html>";
    exit ();
} elseif (!$isCommandLine && isset($_GET['s']) && $_GET['s'] == 'set' && !isset($_SESSION['session_test'])) {
Severity: Major
Found in setup/index.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status