ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/BBClone/trunk/conf/test.php
Revision: 216
Committed: Sun Jan 12 20:13:27 2014 UTC (10 years, 10 months ago) by matthys
File size: 935 byte(s)
Log Message:
Test for build number

File Contents

# User Rev Content
1 matthys 216 <?php
2     /* This file is part of BBClone (A PHP based Web Counter on Steroids)
3     *
4     * SVN FILE $Id: test.php 215 2014-01-12 16:19:34Z joku $
5     *
6     * Copyright (C) 2001-2014, the BBClone Team (see doc/authors.txt for details)
7     *
8     * This program is free software: you can redistribute it and/or modify
9     * it under the terms of the GNU General Public License as published by
10     * the Free Software Foundation, either version 3 of the License, or
11     * (at your option) any later version.
12     *
13     * This program is distributed in the hope that it will be useful,
14     * but WITHOUT ANY WARRANTY; without even the implied warranty of
15     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16     * GNU General Public License for more details.
17     *
18     * See doc/copying.txt for details
19     */
20     $revision = '$Rev:$';
21     $date = '$Date:$';
22    
23     $build = substr($revision, 6, -2);
24     $versiondate = substr($date, 7, 10);
25    
26     define('BUILD', $revision);
27     define('VERSIONDATE', $versiondate);
28     ?>