an example of the new "remote" feature

This commit is contained in:
Savetheinternet 2011-06-04 18:57:37 +10:00
parent 36ee32b38b
commit c7f44d5b25

View File

@ -704,6 +704,20 @@
// Connection timeout, in seconds // Connection timeout, in seconds
$config['purge_timeout'] = 3; $config['purge_timeout'] = 3;
// Remote servers
// http://tinyboard.org/wiki/index.php?title=Multiple_Servers
//$config['remote'] = Array(
// 'static' => Array(
// 'host' => 'static.example.org',
// 'auth' => Array(
// 'method' => 'plain',
// 'username' => 'username',
// 'password' => 'password!123'
// ),
// 'type' => 'scp'
// )
//);
if($_SERVER['SCRIPT_FILENAME'] == str_replace('\\', '/', __FILE__)) { if($_SERVER['SCRIPT_FILENAME'] == str_replace('\\', '/', __FILE__)) {
// You cannot request this file directly. // You cannot request this file directly.
header('Location: ../', true, 302); header('Location: ../', true, 302);