seeder-migration-issues

This commit is contained in:
RafficMohammed
2023-01-30 14:23:34 +05:30
parent 4d918c722f
commit 2ec836b447
3628 changed files with 116006 additions and 187 deletions

View File

@@ -12,7 +12,7 @@ class UserLanguage
public function compose(View $view)
{
$path = base_path().DIRECTORY_SEPARATOR.'resources'.DIRECTORY_SEPARATOR.'lang';
$path = lang_path();
$langs = scandir($path);
$langs = array_diff($langs, ['.', '..']);
$languages = [];