warn about remote fork config in setup and help
[phorkie.git] / src / phorkie / Repository / Post.php
index c9f6a537ae1016698770382f25cd038f03db445e..fbfea4bcb74c3bbf081f16b5e054abcafa9455fd 100644 (file)
@@ -232,7 +232,7 @@ class Repository_Post
     {
         $tmp = tempnam(sys_get_temp_dir(), 'phorkie-autodetect-');
         file_put_contents($tmp, $content);
-        $type = \MIME_Type_PlainDetect::autoDetect($tmp);
+        $type = Tool_MIME_Type_PlainDetect::autoDetect($tmp);
         unlink($tmp);
 
         return $this->findExtForType($type);