r3378 employ output buffering to hide file contents
authorDenis Ovsienko <infrastation@yandex.ru>
Mon, 22 Mar 2010 13:52:53 +0000 (13:52 +0000)
committerDenis Ovsienko <infrastation@yandex.ru>
Mon, 22 Mar 2010 13:52:53 +0000 (13:52 +0000)
gateways/deviceconfig/switch.secrets.php-sample

index 67b3150b69a8649ffb3cbe9a1bcd4f9bcffe6924..e716f54feb68dc04907c3239c523e26a1e992e09 100644 (file)
@@ -1,6 +1,4 @@
-<?php
-die "Unauthorized access attempt has been logged. Cheers.";
-/*
+<?php ob_start(); ?>
 
 # Syntax:
 # <endpoint|*> <telnet> <hostname|-> <port|-> <username|-> <line password> <enable password>
@@ -12,5 +10,4 @@ switch2 telnet - - - password enablepassword
 switch3 telnet - - username3 password3 enablepassword3
 # S-T-O-P
 
-*/
-?>
+<?php ob_end_clean(); ?>