1 <?php // -*- Mode: PHP; -*-
4 * Copyright (C) 2009 Marty Connor <mdc@etherboot.org>.
5 * Copyright (C) 2009 Entity Cyber, Inc.
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.
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.
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.
22 // Directory containing iPXE source code tree
23 $src_dir = "../../src";
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] )
31 // Email address of person responsible for this website
32 $webmaster_email = "webmaster@example.com";
34 // Files that header and footer text
36 $bottom_inc = "bottom.php";
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";