/www/wwwroot/xs_sms/
    • 45
      app/Http/Middleware/VerifyCsrfToken.php
      Illuminate\Foundation\Bootstrap\HandleExceptions
      :28
    • 44
      App\Http\Middleware\VerifyCsrfToken
      :28
  1. 1 unknown frame
    • 1
      public/index.php
      :52
Illuminate\Foundation\Bootstrap\HandleExceptions::handleError
app/Http/Middleware/VerifyCsrfToken.php:28

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

 

namespace App\Http\Middleware;

 

use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware;

use Illuminate\Contracts\Foundation\Application;

use Illuminate\Contracts\Encryption\Encrypter;

 

class VerifyCsrfToken extends Middleware

{

/**

* The URIs that should be excluded from CSRF verification.

*

* @var array<int, string>

*/

protected $except = [];

 

/**

* Create a new middleware instance.

*

* @return void

*/

public function __construct(Application $app, Encrypter $encrypter)

{

parent::__construct($app, $encrypter);

 

$this->except = [

explode('/', config('app.route_clear_cache'))[1],

];

}

}