1 | <?php // -*- Mode: PHP; -*-
|
---|
2 |
|
---|
3 | /**
|
---|
4 | * Copyright (C) 2009 Marty Connor <[email protected]>.
|
---|
5 | * Copyright (C) 2009 Entity Cyber, Inc.
|
---|
6 | *
|
---|
7 | * This program is free software; you can redistribute it and/or
|
---|
8 | * modify it under the terms of the GNU General Public License as
|
---|
9 | * published by the Free Software Foundation; either version 2 of the
|
---|
10 | * License, or any later version.
|
---|
11 | *
|
---|
12 | * This program is distributed in the hope that it will be useful, but
|
---|
13 | * WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
15 | * General Public License for more details.
|
---|
16 | *
|
---|
17 | * You should have received a copy of the GNU General Public License
|
---|
18 | * along with this program; if not, write to the Free Software
|
---|
19 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
---|
20 | */
|
---|
21 |
|
---|
22 | // Directory containing iPXE source code tree
|
---|
23 | $src_dir = "../../src";
|
---|
24 |
|
---|
25 | // Compute iPXE version based on source tree
|
---|
26 | exec ( "make -C '$src_dir' version 2>&1", $make_output, $status );
|
---|
27 | $version = ( $status == 0 && count ( $make_output ) > 1 )
|
---|
28 | ? trim ( $make_output[count ( $make_output ) - 2] )
|
---|
29 | : "";
|
---|
30 |
|
---|
31 | // Email address of person responsible for this website
|
---|
32 | $webmaster_email = "[email protected]";
|
---|
33 |
|
---|
34 | // Files that header and footer text
|
---|
35 | $top_inc = "top.php";
|
---|
36 | $bottom_inc = "bottom.php";
|
---|
37 |
|
---|
38 | // Descriptive strings
|
---|
39 | $header_title = "ROM-o-matic for iPXE $version";
|
---|
40 | $html_tagline = "ROM-o-matic dynamically generates iPXE images";
|
---|
41 | $html_title = "ROM-o-matic for iPXE $version";
|
---|
42 | $description = "a dynamic iPXE image generator";
|
---|
43 |
|
---|
44 | // For emacs:
|
---|
45 | // Local variables:
|
---|
46 | // c-basic-offset: 4
|
---|
47 | // c-indent-level: 4
|
---|
48 | // tab-width: 4
|
---|
49 | // End:
|
---|
50 |
|
---|
51 | ?>
|
---|