Skip to content

Commit

Permalink
Resolve Conflicts with Other Frameworks
Browse files Browse the repository at this point in the history
  • Loading branch information
Fredrick Peter committed Oct 11, 2023
1 parent 25702e7 commit 43a6937
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function form($attribute = null)
}
}

if (! function_exists('old')) {
if (! AppIsNotCorePHP() && ! function_exists('old')) {

/**
* Return previously entered value
Expand Down Expand Up @@ -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
Expand All @@ -90,7 +90,7 @@ function csrf_token()
}


if (! function_exists('csrf')) {
if (! AppIsNotCorePHP() && ! function_exists('csrf')) {

/**
* Generate Input for Csrf Token
Expand Down

0 comments on commit 43a6937

Please sign in to comment.