-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Sajjad edited this page Jun 10, 2022
·
2 revisions
Eftekhari Website Editor developed by Sajjad Eftekhari
Set the $chek_dir[1] in line 81 and run the websiteedite.php
$chek_dir[1] = __DIR__ . '/';
// $chek_dir[2] = __DIR__ . '/../../app/Http/Controllers';
// $chek_dir[3] = __DIR__ . '/../../public/';
-
In Larvel you should
-
1 Move the websiteedite.php to the views
-
and change the
-
2
<input type="hidden" name="_token" value="<? //=csrf_token() ?>" />
-
to the
-
<input type="hidden" name="_token" value="<?=csrf_token() ?>" />
-
3 and add get and post or any request in routes like this
Route::any('/websiteedite', function () {
return view('websiteedite');
});