You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

globals.php 1.6KB

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