an example of the new "remote" feature
This commit is contained in:
parent
36ee32b38b
commit
c7f44d5b25
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user