summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inc/config.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/inc/config.php b/inc/config.php
index ac4acaa4..42e1c32b 100644
--- a/inc/config.php
+++ b/inc/config.php
@@ -115,7 +115,7 @@
* http://tinyboard.org/docs/index.php?p=Config/Cache
*/
- $config['cache']['enabled'] = false;
+ $config['cache']['enabled'] = 'php';
// $config['cache']['enabled'] = 'xcache';
// $config['cache']['enabled'] = 'apc';
// $config['cache']['enabled'] = 'memcached';
@@ -570,6 +570,9 @@
// Use semantic URLs for threads, like /b/res/12345/daily-programming-thread.html
$config['slugify'] = false;
+ // Max size for slugs
+ $config['slug_max_size'] = 80;
+
/*
* ====================
* Ban settings