I have updated this module in the repository.
http://www.modxcms.com/SkinGraft-1.0-1148.html
Version 1.0.1 has lines 355-370 in sg.inc.php commented out.
theses are the lines that make sure the file you are trying to upload/install has mimetype "application/zip".
If you try to upload a file that is not a zip, you will generate a severe error, erase your modx installation, and if you are on a shared host, ruin the lives of hundreds of other users. Just kidding, but you will get an error, and the file you tried to upload that is not a zip will get stuck in the folder /assets/modules/skingraft/tmp/ so you will have to delete it manually.
here is the code that was commented out for 1.0.1
/**
* @ COMMENTED OUT DUE TO SOME HOSTS NOT RECOGNIZING
* .ZIP FILES AS CORRECT MIME TYPE. IF YOUR HOST
* CAN IDENTIFY .ZIP AS "application/zip", YOU CAN
* REMOVE THESE COMMENT STARS.
/*
$ttype = $_FILES['userfile']['type'];
if ($ttype !== "application/zip") {
$dec_arr = array('upload'=>$_sgl['back_b']);
$declare = "<h2>".$_sgl['exam_zip']."</h2>";
$declare .= $this->sg_foot($dec_arr);
unlink($uf);
return $declare;
}
*/
Thanks to Jesster444 for this find.
-sD-