Skip to content
Permalink
Browse files

Remove NEMS TV Dashboard from nems-www

  • Loading branch information...
NEMS Linux
NEMS Linux committed Jul 25, 2019
1 parent a65ce83 commit 385f8d72d256d30393080c5864a9dc530facd184
Showing with 2 additions and 940 deletions.
  1. +2 −2 config/services.php
  2. +0 −1 tv/.gitignore
  3. +0 −2 tv/README
  4. +0 −440 tv/connectors/livestatus.php
  5. BIN tv/favicon.ico
  6. +0 −212 tv/index.php
  7. BIN tv/logo.png
  8. +0 −283 tv/nagios.css
@@ -48,10 +48,10 @@
case 'tvpw':
if ($_POST['value'] == 'off') {
$config['service.' . $name] = 0;
file_put_contents('/var/www/html/tv/.htaccess','AuthType Basic' . PHP_EOL . 'AuthName "NEMS TV Dashboard"' . PHP_EOL . 'AuthUserFile /var/www/htpasswd' . PHP_EOL . 'Require valid-user');
file_put_contents('/var/www/nems-tv/.htaccess','AuthType Basic' . PHP_EOL . 'AuthName "NEMS TV Dashboard"' . PHP_EOL . 'AuthUserFile /var/www/htpasswd' . PHP_EOL . 'Require valid-user');
} elseif ($_POST['value'] == 'on') {
$config['service.' . $name] = 1;
unlink('/var/www/html/tv/.htaccess');
unlink('/var/www/nems-tv/.htaccess');
}
break;

This file was deleted.

This file was deleted.

0 comments on commit 385f8d7

Please sign in to comment.
You can’t perform that action at this time.