Skip to content

Commit

Permalink
Typo breaks fallback constant (#796)
Browse files Browse the repository at this point in the history
  • Loading branch information
Roy-Orbison authored Jan 23, 2025
1 parent d3e8158 commit 745fb91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core.cls.php
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ public function after_user_init()
* TODO: Will change to hook in future versions to make it revertable
*/
if (defined('LITESPEED_BYPASS_OPTM') && !defined('LITESPEED_NO_OPTM')) {
defined('LITESPEED_NO_OPTM', LITESPEED_BYPASS_OPTM);
define('LITESPEED_NO_OPTM', LITESPEED_BYPASS_OPTM);
}

if (!defined('LITESPEED_NO_OPTM') || !LITESPEED_NO_OPTM) {
Expand Down

0 comments on commit 745fb91

Please sign in to comment.