summaryrefslogtreecommitdiff
path: root/inc/config.php
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@n0v4.com>2011-03-17 18:56:18 +1100
committerSavetheinternet <savetheinternet@n0v4.com>2011-03-17 18:56:18 +1100
commit0156daaf553f382a32c6e36287dbbfea868fc52b (patch)
treeb9596b6093db6629efb982f37ff804c2cc968cce /inc/config.php
parent9c9ead2b082c82a28febfdd409551bc647c50ab3 (diff)
Ability to move images and thumbnails to a seperate domain/URL
Diffstat (limited to 'inc/config.php')
-rw-r--r--inc/config.php13
1 files changed, 12 insertions, 1 deletions
diff --git a/inc/config.php b/inc/config.php
index d56e4344..66c9c00f 100644
--- a/inc/config.php
+++ b/inc/config.php
@@ -66,7 +66,7 @@
// Same as above but different IP address
$config['flood_time_same'] = 30;
// Do you need a body for your non-OP posts?
- $config['force_body'] = true;
+ $config['force_body'] = false;
// Reject blank posts? (just whitespace, etc)?
$config['reject_blank'] = true;
@@ -186,6 +186,15 @@
//$config['image_deleted'] = $config['dir']['static'] . 'deleted.png';
//$config['image_zip'] = $config['dir']['static'] . 'zip.png';
+
+ // If you want to put images and other dynamic-static stuff on another (preferably cookieless) domain, you can use this:
+ // This will override $config['root'] and $config['dir']['...'] directives
+
+ // "%s" will get replaced with $board['dir'], which usually includes a trailing slash. To avoid double slashes, you don't need
+ // to put a slash after %s
+ // $config['uri_thumb'] = 'http://images.example.org/%sthumb/';
+ // $config['uri_img'] = 'http://images.example.org/%ssrc/';
+
// If for some reason the folders and static HTML index files aren't in the current working direcotry,
// enter the directory path here. Otherwise, keep it false.
$config['root_file'] = false;
@@ -314,6 +323,8 @@
$config['mod']['createusers'] = ADMIN;
// View the moderation log
$config['mod']['modlog'] = ADMIN;
+ // Create a PM (viewing mod usernames)
+ $config['mod']['create_pm'] = JANITOR;
// Mod links (full HTML)
// Correspond to above permission directives