diff --git a/config/view.php b/config/view.php index aecd975..40b9097 100644 --- a/config/view.php +++ b/config/view.php @@ -23,7 +23,8 @@ 'is_ajax_request', 'csrf_field', 'config', - 'is_htmx_request' + 'is_htmx_request', + 'render_fragment_or_full' ], 'paths' => [ diff --git a/core/Support/Debugbar.php b/core/Support/Debugbar.php index 004788c..06351f9 100644 --- a/core/Support/Debugbar.php +++ b/core/Support/Debugbar.php @@ -36,7 +36,7 @@ public static function resetForRequest() public static function render() { - if (env('APP_DEBUG') !== 'true') return; + if (!env('APP_DEBUG')) return; $endTime = microtime(true); $startTime = defined('REQUEST_START') ? REQUEST_START : SPROUT_START;