-
Notifications
You must be signed in to change notification settings - Fork 16
/
version.php
executable file
·71 lines (58 loc) · 1.7 KB
/
version.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<?php /*
ocPortal
Copyright (c) ocProducts, 2004-2012
See text/EN/licence.txt for full licencing information.
NOTE TO PROGRAMMERS:
Do not edit this file. If you need to make changes, save your changed file to the appropriate *_custom folder
**** If you ignore this advice, then your website upgrades (e.g. for bug fixes) will likely kill your changes ****
*/
/**
* @license http://opensource.org/licenses/cpal_1.0 Common Public Attribution License
* @copyright ocProducts Ltd
* @package core
*/
/**
* Get the major version of your installation.
*
* @return integer The major version number of your installation
*/
function ocp_version()
{
return 8;
}
/**
* Get the minor/patch version of your installation. This changes with each release, including bug fix releases. It generally consists of 'a' or 'a.b', where 'a' increments represent major changes and 'b' increments represent tiny changes or alpha/beta/RC numbering.
*
* @return string The minor/patch version number of your installation (e.g. 0.1 or 1.1 or RC1 or 1 RC1)
*/
function ocp_version_minor()
{
return '1.2';
}
/**
* Get the general version number of your installation (incorporates major and minor verson number).
*
* @return float The general version number of your installation
*/
function ocp_version_number()
{
return 8.1;
}
/**
* Get the timestamp at which this version was released.
*
* @return integer The timestamp at which this version was released.
*/
function ocp_version_time()
{
return 1211025869;
}
/**
* Get the timestamp at which this MAJOR version was released.
*
* @return integer The timestamp at which this MAJOR version was released.
*/
function ocp_version_time_major()
{
return 1211025869;
}