2
The code for selecting the mime type allowed for upload in mastop publish file-manager is contained in
/modules/mastop_publish/xoops_version.php line 226 to 234
Quote:
$modversion['config'][17]['name'] = 'mpu_conf_mimetypes';
$modversion['config'][17]['title'] = 'MPU_MOD_MIMETYPES';
$modversion['config'][17]['description'] = 'MPU_MOD_MIMETYPES_DESC';
$modversion['config'][17]['formtype'] = 'select_multi';
$modversion['config'][17]['valuetype'] = 'array';
$modversion['config'][17]['options'] = include( XOOPS_ROOT_PATH . '/class/mimetypes.inc.php' );
ksort($modversion['config'][17]['options']);
reset($modversion['config'][17]['options']);
$modversion['config'][17]['default'] = array("application/x-gtar","application/x-tar","application/x-gzip","application/msword", "application/pdf", "application/vnd.ms-excel", "application/vnd.ms-excel", "application/vnd.ms-powerpoint", "application/zip");
It seems that that mimetypes allowed to be selected are included from the xoops_url/class/mimetypes.inc.php
Iadded the .pps extension in this file but its still not visible in the preferences section of the mastop publish module.
Kindly help