summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@tinyboard.org>2011-06-04 18:57:37 +1000
committerSavetheinternet <savetheinternet@tinyboard.org>2011-06-04 18:57:37 +1000
commitc7f44d5b257c8987bcf5511e5629452179ccdb8c (patch)
treea487b826c9214878c7209a20df579059b55fe9e6
parent36ee32b38b9cbfb04f26267cd34017c258e1a39b (diff)
an example of the new "remote" feature
-rw-r--r--inc/config.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/inc/config.php b/inc/config.php
index f1fc3d65..e727b774 100644
--- a/inc/config.php
+++ b/inc/config.php
@@ -704,6 +704,20 @@
// Connection timeout, in seconds
$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__)) {
// You cannot request this file directly.
header('Location: ../', true, 302);