Files
luos/gulliver/thirdparty/html2ps_pdf/css.parse.media.inc.php
Victor Saisa Lopez 6d9858d6d0 HOR-1738 "Change folder permissions in ProcessMaker" SOLVED
Issue:
    Change folder permissions in ProcessMaker
Cause:
    Nuevo requerimiento
Solution:
    Se cambio los permisos de los files and directories
2016-08-30 13:03:35 -04:00

16 lines
414 B
PHP

<?php
function is_allowed_media($media_list) {
// Now we've got the list of media this style can be applied to;
// check if at least one of this media types is being used by the script
//
$allowed_media = config_get_allowed_media();
$allowed_found = false;
foreach ($media_list as $media) {
$allowed_found |= (array_search($media, $allowed_media) !== false);
};
return $allowed_found;
}
?>