'api_password')); $correctLogin = false; if (!empty($apiPassword)) { if ($password === $apiPassword) { $correctLogin = true; } } else { if (isInACL($ipOrigin)) { $correctLogin = true; } } if ($correctLogin) { if (($op !== 'get') && ($op !== 'set') && ($op !== 'help')) returnError('no_set_no_get_no_help', $returnType); else { if (!function_exists($op.'_'.$op2)) returnError('no_exist_operation', $returnType); else { call_user_func($op.'_'.$op2, $id, $id2, $other, $returnType); } } } else { echo 'ERROR: Your IP (' . $ipOrigin . ') is not in ACL IP list.'; } ?>