<?php
#%header%

//=================================================================
//
// $cfg["verify-hostname"]
//
//-----------------------------------------------------------------
// If $cfg["verify-hostname"]=1, HObfus verifies whether the
// hostname reported on the server side matches the hostname
// reported on the client side. If they don't match, then no HTML
// code will be outputted to the browser.
// To turn off the verification, set $cfg["verify-hostname"] to 0.
//-----------------------------------------------------------------
// Default Setting:
//
//   $cfg["verify-hostname"]=1;
//
//=================================================================

$cfg["verify-hostname"]=1;

//=================================================================
//
// $cfg["verify-protocol"]
//
//-----------------------------------------------------------------
// If $cfg["verify-protocol"]=1, HObfus verifies if the transfer
// protocol is "HTTP" or "HTTPS". If neither, then no HTML code
// will be outputted to the browser.
// To turn off the verification, set $cfg["verify-protocol"] to 0.
//
// Note that if you open the page locally in a file manager (
// instead of a web browser ), the protocol is "FILE" (neither
// "HTTP" nor "HTTPS")
//-----------------------------------------------------------------
// Default Setting:
//
//   $cfg["verify-protocol"]=1;
//
//=================================================================

$cfg["verify-protocol"]=1;

//=================================================================
//
// $cfg["prepend"]
//
//-----------------------------------------------------------------
// $cfg["prepend"] defines a text (or # of tabs) to be prepended
// to the front of each HObfus obfuscation.
//-----------------------------------------------------------------
// Example #1 : Prepend a text
//
//   $cfg["prepend"]="I think, therefore I am.";
//
//-----------------------------------------------------------------
// Example #2 : Disable prepending
//
//   $cfg["prepend"]="";
//
//-----------------------------------------------------------------
// Example #3 :
//
// If you assign a number to $cfg["prepend"], then the same number
// of tabs will be prepended. The following setting will prepend
// 25 tabs.
//
//   $cfg["prepend"]=25;
//
//-----------------------------------------------------------------
// Default Setting:
//
//   $cfg["prepend"]=100;
//
//=================================================================

$cfg["prepend"]=100;

//=================================================================
//
// $cfg["remove-script"]
//
//-----------------------------------------------------------------
// $cfg["remove-script"] controls whether HObfus should remove all
// the <script> tags from the Elements tab of DevTools.
//
// If $cfg["remove-script"] is 1, HObfus removes all the <script>
// tags from the Elements tab of DevTools regardless of the
// locations of HObfus_begin() and HObfus_end().
//
// To disable the feature, set $cfg["remove-script"] to 0.
//-----------------------------------------------------------------
// Default Setting:
//
//   $cfg["remove-script"]=0;
//
//=================================================================

$cfg["remove-script"]=0;

//=================================================================
//
// $cfg["remove-comment"]
//
//-----------------------------------------------------------------
// $cfg["remove-comment"] controls whether HObfus should remove all
// the HTML comment tags ( <!-- ... --> ) from the Elements tab
// of DevTools.
//
// If $cfg["remove-comment"] is 1, HObfus removes all the comment
// tags from the Elements tab of DevTools regardless of the
// locations of HObfus_begin() and HObfus_end().
//
// To disable the feature, set $cfg["remove-comment"] to 0.
//-----------------------------------------------------------------
// Default Setting:
//
//   $cfg["remove-comment"]=0;
//
//=================================================================

$cfg["remove-comment"]=0;

//=================================================================
//
// $cfg["return-output"]
//
//-----------------------------------------------------------------
// $cfg["return-output"] controls whether HObfus_end() should
// output obfuscated code to the browser or return it as a PHP
// string.
//
// If $cfg["return-output"] is 0, HObfus_end() will output
// obfuscated code to the browser.
//
// If $cfg["return-output"] is 1, HObfus_end() will return
// obfuscated code as a PHP string. For example, the following
// code will assign the obfuscated code to a PHP variable
// named '$my_code':
//
// $my_code=HObfus_end();
//
// It is up to you how you utilize the value of the variable.
// You may want to save it to a file and send it to a browser
// at a later time. To send it to a browser, use 'echo' like
//
// echo $my_code;
//
// It is very rare that you want to set $cfg["return-output"]
// to 1 in this configuration file. Instead, you would rather
// want to override it in HObfus_begin() like:
//
// HObfus_begin(array(
//   "return-output"=>1
// ));
//-----------------------------------------------------------------
// Default Setting:
//
//   $cfg["return-output"]=0;
//
//=================================================================

$cfg["return-output"]=0;

//=================================================================
// END OF FILE
//=================================================================
?>
