enable_java
enable_java($enable=true,$refresh=true); - allow or prohibit loading and activating Java applets in the browser (when Java applets are disabled, the page transition is accelerated).
To check whether Java is allowed or forbidden in the browser, you can use this function is_enable_java.
the input Function accepts parameters:
$enable – allow (true) or deny (false)$refresh – should the page be updated (true) or not (false) after this command
After testing, the function returns the result of its work to the script :
true – completed successfully
false – failed