membership register
This commit is contained in:
parent
3711fcc8d0
commit
37cb2b06c7
38 changed files with 1261 additions and 463 deletions
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
namespace App\Http\Middleware;
|
||||
|
||||
use Carbon;
|
||||
use Closure;
|
||||
use Auth;
|
||||
|
||||
|
|
@ -20,8 +21,7 @@ class Localization
|
|||
|
||||
if ( \Session::has('locale')) {
|
||||
\App::setLocale(\Session::get('locale'));
|
||||
// You also can set the Carbon locale
|
||||
//Carbon::setLocale(\Session::get('locale'));
|
||||
Carbon::setLocale(\Session::get('locale'));
|
||||
}
|
||||
|
||||
return $next($request);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue