mirror of
https://github.com/billz/raspap-webgui.git
synced 2023-10-10 13:37:24 +02:00
Added RASPI_VNSTAT_ENABLED to config.php.
Signed-off-by: D9ping <D9ping@users.noreply.github.com>
This commit is contained in:
parent
d6d89df024
commit
6d37fd79fa
@ -26,6 +26,7 @@ define('RASPI_OPENVPN_ENABLED', false );
|
||||
define('RASPI_TORPROXY_ENABLED', false );
|
||||
define('RASPI_CONFAUTH_ENABLED', true );
|
||||
define('RASPI_CHANGETHEME_ENABLED', true );
|
||||
define('RASPI_VNSTAT_ENABLED', true );
|
||||
|
||||
// Locale settings
|
||||
define('LOCALE_ROOT', 'locale');
|
||||
|
@ -156,13 +156,11 @@ $theme_url = 'dist/css/'.htmlspecialchars($theme, ENT_QUOTES);
|
||||
<a href="index.php?page=theme_conf"><i class="fa fa-wrench fa-fw"></i> <?php echo _("Change Theme"); ?></a>
|
||||
</li>
|
||||
<?php endif; ?>
|
||||
<?php //if ( RASPI_VNSTAT_ENABLED ) :
|
||||
?>
|
||||
<?php if ( RASPI_VNSTAT_ENABLED ) : ?>
|
||||
<li>
|
||||
<a href="index.php?page=vnstat"><i class="fa fa-bar-chart fa-fw"></i> <?php echo _("Bandwidth"); ?></a>
|
||||
</li>
|
||||
<?php //endif;
|
||||
?>
|
||||
<?php endif; ?>
|
||||
<li>
|
||||
<a href="index.php?page=system_info"><i class="fa fa-cube fa-fw"></i> <?php echo _("System"); ?></a>
|
||||
</li>
|
||||
|
Loading…
Reference in New Issue
Block a user