Open sylvertyco opened 3 years ago
I believe this was caused by this line :
if($_REQUEST['a'] != "rsp" && $_REQUEST['a'] != "rpc"){ if(empty($user) || empty($user->email) || empty($user->id) || !in_array($user->user_level, $userLevelArray)){ $ret['status'] = "ERROR"; echo json_encode($ret); exit(); } }
At login page there is no variable set for user, email, user id because we haven't logged in (well, it is the login page).
I use ice hrm pro. start at login page cant view company logo with this code. same at profile picture.
service.php?a=download&file=value_dOQjo0xajrbHuy1597331565773.png