mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-25 10:09:20 +03:00
2016 -> 2017
+ Small fixes
This commit is contained in:
parent
39c07bfc13
commit
6a6f420c76
16 changed files with 297 additions and 294 deletions
|
|
@ -1,59 +1,59 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of MailSo.
|
||||
*
|
||||
* (c) 2016 Usenko Timur
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace MailSo;
|
||||
|
||||
/**
|
||||
* @category MailSo
|
||||
*/
|
||||
final class Version
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
const APP_VERSION = '2.0.1';
|
||||
|
||||
/**
|
||||
* @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()
|
||||
{
|
||||
$sSignature = '';
|
||||
if (\defined('MAILSO_LIBRARY_USE_PHAR'))
|
||||
{
|
||||
$oPhar = new \Phar('mailso.phar');
|
||||
$sSignature = $oPhar->getSignature();
|
||||
}
|
||||
|
||||
return $sSignature;
|
||||
}
|
||||
}
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of MailSo.
|
||||
*
|
||||
* (c) 2014 Usenko Timur
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace MailSo;
|
||||
|
||||
/**
|
||||
* @category MailSo
|
||||
*/
|
||||
final class Version
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
const APP_VERSION = '2.0.1';
|
||||
|
||||
/**
|
||||
* @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()
|
||||
{
|
||||
$sSignature = '';
|
||||
if (\defined('MAILSO_LIBRARY_USE_PHAR'))
|
||||
{
|
||||
$oPhar = new \Phar('mailso.phar');
|
||||
$sSignature = $oPhar->getSignature();
|
||||
}
|
||||
|
||||
return $sSignature;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue