X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/7b549853080c5768d4da0b086d9b56b4b9d634c5..0e362c3a8a13e7e2ae7d5c1a5d2e5eaa163d153f:/src/phorkie/Repository/Post.php diff --git a/src/phorkie/Repository/Post.php b/src/phorkie/Repository/Post.php index 39798b5..c9f6a53 100644 --- a/src/phorkie/Repository/Post.php +++ b/src/phorkie/Repository/Post.php @@ -228,7 +228,7 @@ class Repository_Post return $prefix . $num; } - protected function getType($content) + public function getType($content) { $tmp = tempnam(sys_get_temp_dir(), 'phorkie-autodetect-'); file_put_contents($tmp, $content);