You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

59 lines
1.8 KiB
PHP

<?php
// all possible options will be stored
$config = array();
$config['website-name'] = "Web Proxy";
$config['access-password'] = "MY_PASSWORD_TO_ACCESS";
$config['website-url'] = "/web-proxy/";
$config['website-description'] = "Web Proxy";
//ini_set( 'error_reporting', E_ALL ); //enable for debugging!
//ini_set( 'display_errors', true ); //enable for debugging!
// a unique key that identifies this application - DO NOT LEAVE THIS EMPTY!
$config['app_key'] = 'ADD_HERE_SOME_RANDOM_STRING';
// a secret key to be used during encryption
$config['encryption_key'] = '';
/*
how unique is each URL that is generated by this proxy app?
0 - no encoding of any sort. People can link to proxy pages directly: ?q=http://www.yahoo.com
1 - Base64 encoding only, people can hotlink to your proxy
2 - unique to the IP address that generated it. A person that generated that URL, can bookmark it and visit it and any point
3 - unique to that session and IP address - URL no longer valid anywhere when that browser session that generated it ends
*/
$config['url_mode'] = 2;
// plugins to load - plugins will be loaded in this exact order as in array
$config['plugins'] = array(
'HeaderRewrite',
'Stream',
// ^^ do not disable any of the plugins above
'Cookie',
'Proxify',
'UrlForm',
// site specific plugins below
'Youtube',
'DailyMotion',
'Twitter'
);
// additional curl options to go with each request
$config['curl'] = array(
// CURLOPT_PROXY => '',
// CURLOPT_CONNECTTIMEOUT => 5
);
//$config['replace_title'] = 'Google Search';
//$config['error_redirect'] = "https://unblockvideos.com/#error={error_msg}";
//$config['index_redirect'] = 'https://unblockvideos.com/';
// $config['replace_icon'] = 'icon_url';
// this better be here other Config::load fails
return $config;
?>