index.php 393 B

1234567891011121314151617181920212223
  1. <?php
  2. $base = realpath(dirname(__FILE__));
  3. require_once("{$base}/../include/global.inc.php");
  4. //file_get_contents("$base/../unbound-php-management/zones.conf.txt");
  5. //
  6. //
  7. $tab = "dns";
  8. if (preg_match("/dns/",$_SERVER['REQUEST_URI'])) {
  9. $tab = "dns";
  10. ##}else if (preg_match("/dhcp/",$_SERVER['REQUEST_URI'])) {
  11. ## $tab = "dhcp";
  12. }
  13. require_once("{$base}/../view/index.html");
  14. ?>