[Logicampus-cvs] logicampus/src/logicreate/lib lc_lob.php, 1.31, 1.32
Brought to you by:
trilexcom
From: Mark K <har...@us...> - 2008-02-17 04:08:17
|
Update of /cvsroot/logicampus/logicampus/src/logicreate/lib In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv14897 Modified Files: lc_lob.php Log Message: fixing nasty bug when figuring out mime types. Index: lc_lob.php =================================================================== RCS file: /cvsroot/logicampus/logicampus/src/logicreate/lib/lc_lob.php,v retrieving revision 1.31 retrieving revision 1.32 diff -C2 -d -r1.31 -r1.32 *** lc_lob.php 9 Oct 2007 18:44:20 -0000 1.31 --- lc_lob.php 17 Feb 2008 04:08:12 -0000 1.32 *************** *** 227,230 **** --- 227,231 ---- $this->setMeta('lobKind','content'); $this->setMeta('author', $vars['md_author']); + $this->setMeta('source', $vars['md_source']); $this->setMeta('copyright', $vars['md_copyright']); $this->setMeta('license', $vars['md_license']); *************** *** 587,596 **** * @static */ ! function getMimeForSubtype($subType,$ext='') { if ($ext == 'jpeg' || $ext == 'pjpeg' || $ext == 'jpg') { $ext = 'jpeg'; } ! switch($subType) { case 'text': return 'text/plain'; --- 588,597 ---- * @static */ ! function getMimeForSubtype($subtype,$ext='') { if ($ext == 'jpeg' || $ext == 'pjpeg' || $ext == 'jpg') { $ext = 'jpeg'; } ! switch($subtype) { case 'text': return 'text/plain'; |