Skip to content

Commit

Permalink
[5.1] Replace JPATH_PLATFORM with _JEXEC (#42904)
Browse files Browse the repository at this point in the history
  • Loading branch information
heelc29 committed Feb 27, 2024
1 parent 94e86db commit 51f9bfe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libraries/src/TUF/DatabaseStorage.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
use Tuf\Metadata\StorageBase;

// phpcs:disable PSR1.Files.SideEffects
\defined('JPATH_PLATFORM') or die;
\defined('_JEXEC') or die;
// phpcs:enable PSR1.Files.SideEffects;

/**
Expand Down
2 changes: 1 addition & 1 deletion libraries/src/TUF/TufFetcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
use Tuf\Loader\SizeCheckingLoader;

// phpcs:disable PSR1.Files.SideEffects
\defined('JPATH_PLATFORM') or die;
\defined('_JEXEC') or die;
// phpcs:enable PSR1.Files.SideEffects

/**
Expand Down

0 comments on commit 51f9bfe

Please sign in to comment.