X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/825c9662ddc1c534712056c458c8f6d71b81b921..8b450bb3ff801df8ac5522870325eb46543d2cd2:/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);