Skip to content

Commit

Permalink
Update web.php
Browse files Browse the repository at this point in the history
  • Loading branch information
shaxzodbek-uzb authored Jul 4, 2023
1 parent 3f43622 commit 7f06cb7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/routes/web.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<?php

$middleware = config('payuz')['control_panel']['middleware'];
$middleware = null;
if(isset(config('payuz')['control_panel']['middleware']))
$middleware = config('payuz')['control_panel']['middleware'];

//checking array is empty or null
if (empty($middleware) || $middleware == null) {
Expand Down

0 comments on commit 7f06cb7

Please sign in to comment.