Kachre ki saaf safai

"Sabka kachra mujhe hi saaf krna pdta ha :("
This commit is contained in:
Manish Verma
2021-03-12 16:50:13 +05:30
parent 3afc6ed73c
commit 25c383d8b8
7 changed files with 16 additions and 10 deletions

View File

@@ -92,7 +92,7 @@ class SettingsController extends Controller
public function directories($root = '')
{
if ($root == '') {
$root = base_path();
$root = storage_path();
}
$iter = new RecursiveIteratorIterator(

View File

@@ -25,6 +25,6 @@ class CheckRoleAgent
return $next($request);
}
return redirect('dashboard')->with('fails', 'You are not Autherised');
return redirect('/')->with('fails', 'You are not Autherised');
}
}