snappymail/rainloop/v/0.0.0/app/libraries/MailSo/Version.php

51 lines
697 B
PHP
Raw Normal View History

2013-09-25 03:04:44 +08:00
<?php
namespace MailSo;
/**
* @category MailSo
*/
final class Version
{
/**
* @var string
*/
2014-04-14 17:13:26 +08:00
const APP_VERSION = '1.3.2';
2013-09-25 03:04:44 +08:00
/**
* @var string
*/
const MIME_X_MAILER = 'MailSo';
/**
* @return string
*/
public static function AppVersion()
{
return \MailSo\Version::APP_VERSION;
}
/**
* @return string
*/
public static function XMailer()
{
return \MailSo\Version::MIME_X_MAILER.'/'.\MailSo\Version::APP_VERSION;
}
/**
* @return string
*/
public static function Signature()
{
2014-02-18 05:25:19 +08:00
$sSignature = '';
if (\defined('MAILSO_LIBRARY_USE_PHAR'))
{
$oPhar = new \Phar('mailso.phar');
$sSignature = $oPhar->getSignature();
}
return $sSignature;
2013-09-25 03:04:44 +08:00
}
}