diff --git a/index.php b/index.php index 9a1d029..b7b1777 100755 --- a/index.php +++ b/index.php @@ -52,3 +52,7 @@ }, ], ]); + +if (function_exists('ray') && (!option('debug') && !option('genxbe.ray.enabled'))) { + ray()->disable(); +}