Skip to content

Commit

Permalink
Fixed root detection of mobile php warning
Browse files Browse the repository at this point in the history
  • Loading branch information
hi-hai committed Jul 13, 2022
1 parent f8251aa commit 5a16f79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/root.cls.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ abstract class Root {
* @access protected
*/
protected function _separate_mobile() {
return ( wp_is_mobile() || apply_filters( 'litespeed_is_mobile', false ) ) && $this->conf( self::O_CACHE_MOBILE );
return ( wp_is_mobile() || apply_filters( 'litespeed_is_mobile', false ) ) && $this->conf( Base::O_CACHE_MOBILE );
}

/**
Expand Down

0 comments on commit 5a16f79

Please sign in to comment.