Skip to content

Commit

Permalink
CI cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
bwalkerl authored and brendanheywood committed Feb 20, 2024
1 parent cf0220e commit 21613b8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions progress.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,12 @@
*/
define('NO_OUTPUT_BUFFERING', true); // Progress bar is used here.

// @codingStandardsIgnoreStart
// Ignore expected config.php inclusion for $argv as CLI_SCRIPT must be defined first.
if (isset($argv)) {
define('CLI_SCRIPT', true);
}

// @codingStandardsIgnoreStart
// Ignore expected login check.
require(__DIR__ . '/../../../config.php');
// @codingStandardsIgnoreEnd

Expand Down

0 comments on commit 21613b8

Please sign in to comment.