Merge branch 'master' into feature/templates

This commit is contained in:
Bill Zimmerman
2019-08-27 15:16:56 +02:00
committed by GitHub
5 changed files with 15 additions and 14 deletions

View File

@@ -1,6 +1,6 @@
<?php
define('RASPI_VERSION', '1.5.1');
define('RASPI_VERSION', '1.6');
define('RASPI_CONFIG', '/etc/raspap');
define('RASPI_CONFIG_NETWORKING', RASPI_CONFIG.'/networking');
define('RASPI_ADMIN_DETAILS', RASPI_CONFIG.'/raspap.auth');

View File

@@ -16,6 +16,5 @@ function DisplayNetworkingConfig()
foreach ($interfaces as $interface) {
exec("ip a show $interface", $$interface);
}
echo renderTemplate("networking", compact("status", "interfaces"));
}