Skip to content

Commit

Permalink
Merge pull request #1 from newfold-labs/update/constants-in-platform-…
Browse files Browse the repository at this point in the history
…check

only check for is_atomic constant
  • Loading branch information
circlecube authored Feb 22, 2024
2 parents aff2a22 + 6b60329 commit 0d852f8
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,7 @@ function () {
function () {
// set platform
$platform = 'default';
if (
defined( 'IS_ATOMIC' ) &&
IS_ATOMIC &&
defined( 'ATOMIC_CLIENT_ID' ) &&
'2' === ATOMIC_CLIENT_ID
) {
if ( defined( 'IS_ATOMIC' ) && IS_ATOMIC ) {
$platform = 'atomic';
}
setContext( 'platform', $platform );
Expand Down

0 comments on commit 0d852f8

Please sign in to comment.