Update readFiles method in SapFileController to improve user identification in error responses

This commit is contained in:
dhanabalan
2025-09-23 10:55:56 +05:30
parent 8187aca5d4
commit 0f3b516614

View File

@@ -43,7 +43,7 @@ class SapFileController extends Controller
'path_checked' => $path,
'is_dir' => $isDir,
'is_readable' => $isReadable,
'php_user' => get_current_user(),
'php_user' => exec('whoami'),
]
], 500);
}