-
Notifications
You must be signed in to change notification settings - Fork 0
/
version.php
59 lines (50 loc) · 2.01 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
<?php
// +---------------------------------------------------------------------------+
// | This file is part of the Agavi package. |
// | Copyright (c) 2005-2010 the Agavi Project. |
// | |
// | For the full copyright and license information, please view the LICENSE |
// | file that was distributed with this source code. You can also view the |
// | LICENSE file online at http://www.agavi.org/LICENSE.txt |
// | vi: set noexpandtab: |
// | Local Variables: |
// | indent-tabs-mode: t |
// | End: |
// +---------------------------------------------------------------------------+
/**
* Version initialization script.
*
* @package agavi
*
* @author David Zülke <[email protected]>
* @copyright Authors
* @copyright The Agavi Project
*
* @since 0.9.0
*
* @version $Id: version.php 4622 2010-12-19 17:37:14Z david $
*/
AgaviConfig::set('agavi.name', 'Agavi');
AgaviConfig::set('agavi.major_version', '1');
AgaviConfig::set('agavi.minor_version', '0');
AgaviConfig::set('agavi.micro_version', '5');
AgaviConfig::set('agavi.status', 'dev');
AgaviConfig::set('agavi.branch', '1.0');
AgaviConfig::set('agavi.version',
AgaviConfig::get('agavi.major_version') . '.' .
AgaviConfig::get('agavi.minor_version') . '.' .
AgaviConfig::get('agavi.micro_version') .
(AgaviConfig::has('agavi.status')
? '-' . AgaviConfig::get('agavi.status')
: '')
);
AgaviConfig::set('agavi.release',
AgaviConfig::get('agavi.name') . '/' .
AgaviConfig::get('agavi.version')
);
AgaviConfig::set('agavi.url', 'http://www.agavi.org');
AgaviConfig::set('agavi_info',
AgaviConfig::get('agavi.release') . ' (' .
AgaviConfig::get('agavi.url') . ')'
);
?>