forked from leftypol/leftypol
experimental SCP writing (for using Tinyboard over multiple servers)
This commit is contained in:
parent
65c5e91af2
commit
9654c9d9e7
2 changed files with 18 additions and 1 deletions
|
@ -221,6 +221,9 @@
|
|||
// Display the aspect ratio in a post's file info
|
||||
$config['show_ratio'] = true;
|
||||
|
||||
// Directory where temporary files will be created. Not really used much yet except for some experimental stuff.
|
||||
$config['tmp'] = '/tmp';
|
||||
|
||||
// The root directory, including the trailing slash, for Tinyboard.
|
||||
// examples: '/', 'http://boards.chan.org/', '/chan/'
|
||||
$config['root'] = (str_replace('\\', '/', dirname($_SERVER['REQUEST_URI'])) == '/' ? '/' : str_replace('\\', '/', dirname($_SERVER['REQUEST_URI'])) . '/');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue