move MIME type constants to Filesystem model

This commit is contained in:
yggverse 2024-07-17 17:34:28 +03:00
parent 7230bec4cf
commit fe3bec5caa
6 changed files with 13 additions and 11 deletions

View file

@ -44,7 +44,7 @@ class Gemini
case 11: // sensitive input
$this->_connection->setMime(
$this->_connection::MIME_TEXT_GEMINI
Filesystem::MIME_TEXT_GEMINI
);
$this->_connection->setRequest(
@ -117,7 +117,7 @@ class Gemini
);
$this->_connection->setMime(
$this->_connection::MIME_TEXT_GEMINI
Filesystem::MIME_TEXT_GEMINI
);
}