* added function to check if meta-field is defined by a plugin * hide un-defined meta-fields in details view * fix default charset = utf8mb4 * remove broken DATABASE_VERSION fallback * split off upgrade infos for version 1.x * fix page out of range #4279
46 lines
1005 B
PHP
46 lines
1005 B
PHP
<?php
|
|
|
|
/*
|
|
* This file is part of the Kimai time-tracking app.
|
|
*
|
|
* For the full copyright and license information, please view the LICENSE
|
|
* file that was distributed with this source code.
|
|
*/
|
|
|
|
namespace App;
|
|
|
|
/**
|
|
* Some "very" global constants for Kimai.
|
|
*/
|
|
class Constants
|
|
{
|
|
/**
|
|
* The current release version
|
|
*/
|
|
public const VERSION = '2.0.33';
|
|
/**
|
|
* The current release: major * 10000 + minor * 100 + patch
|
|
*/
|
|
public const VERSION_ID = 20033;
|
|
/**
|
|
* The software name
|
|
*/
|
|
public const SOFTWARE = 'Kimai';
|
|
/**
|
|
* Used in multiple views
|
|
*/
|
|
public const GITHUB = 'https://github.com/kimai/kimai/';
|
|
/**
|
|
* The Github repository name
|
|
*/
|
|
public const GITHUB_REPO = 'kimai/kimai';
|
|
/**
|
|
* Homepage, used in multiple views
|
|
*/
|
|
public const HOMEPAGE = 'https://www.kimai.org';
|
|
/**
|
|
* Default color for Customer, Project and Activity entities
|
|
*/
|
|
public const DEFAULT_COLOR = '#d2d6de';
|
|
}
|