diff --git a/src/helpers.php b/src/helpers.php index 5397239..f4e8e0c 100644 --- a/src/helpers.php +++ b/src/helpers.php @@ -20,7 +20,7 @@ function form($attribute = null) } } -if (! function_exists('old')) { +if (! AppIsNotCorePHP() && ! function_exists('old')) { /** * Return previously entered value @@ -76,7 +76,7 @@ function config_form(?bool $error_type = false, ?bool $csrf_token = true, $reque } -if (! function_exists('csrf_token')) { +if (! AppIsNotCorePHP() && ! function_exists('csrf_token')) { /** * Get Csrf Token @@ -90,7 +90,7 @@ function csrf_token() } -if (! function_exists('csrf')) { +if (! AppIsNotCorePHP() && ! function_exists('csrf')) { /** * Generate Input for Csrf Token