From 5cb5b5277d1a70a3500c31940a484712f75ae6c7 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Wed, 27 Feb 2019 20:14:53 -0700 Subject: [PATCH] Add Localization Helper --- app/Util/Localization/Localization.php | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 app/Util/Localization/Localization.php diff --git a/app/Util/Localization/Localization.php b/app/Util/Localization/Localization.php new file mode 100644 index 000000000..4ca061525 --- /dev/null +++ b/app/Util/Localization/Localization.php @@ -0,0 +1,18 @@ +addDays(14), function() { + $dir = resource_path('lang'); + return Arr::flatten(array_diff(scandir($dir), array('..', '.', 'vendor'))); + }); + } + +} \ No newline at end of file