Skip to content

Commit

Permalink
Really disable ray when not active
Browse files Browse the repository at this point in the history
  • Loading branch information
samzzi committed Nov 27, 2021
1 parent 855ec57 commit b821fbd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,7 @@
},
],
]);

if (function_exists('ray') && (!option('debug') && !option('genxbe.ray.enabled'))) {
ray()->disable();
}

0 comments on commit b821fbd

Please sign in to comment.