mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-08 08:13:11 +08:00
Refactored Databa config customizer so that it uses new structure
This commit is contained in:
@@ -40,3 +40,8 @@ function env($key, $default = null)
|
||||
|
||||
return trim($value);
|
||||
}
|
||||
|
||||
function contains($needle, array $haystack)
|
||||
{
|
||||
return \in_array($needle, $haystack, true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user