
you use the dir '\Frameworks\moduleclasses\icons\32\' in module admin.
it would be fine, if your own icons are copied to this dir while installing/updating
I added following code to my install.php:
$pic_path = XOOPS_ROOT_PATH.'/modules/myModule/images/32/';
if(is_dir($pic_path)) {
$pic_dir = @opendir($pic_path) or die("invalid path $pic_path");
$exempted = "index.html";
while ($filename = readdir($pic_dir))
{
if(($filename!=".") and ($filename!="..") and ($filename!=$exempted )) {
copy($pic_path.$filename, XOOPS_ROOT_PATH.'/Frameworks/moduleclasses/icons/32/'.$filename);
}
}
closedir($pic_dir);
}