diff options
| author | Marcin Łabanowski <marcin@6irc.net> | 2015-03-12 00:00:59 +0100 |
|---|---|---|
| committer | Marcin Łabanowski <marcin@6irc.net> | 2015-03-12 00:00:59 +0100 |
| commit | 10a82199656aa5a9f5b81afda1a2f3512f46efe2 (patch) | |
| tree | 772cda4f3b965806dd54251359075e987be8ba18 | |
| parent | dbaaa0c40a7a96306185f9431b008a72bc153dd5 (diff) | |
enable a `basic` cache by default; notify me if it breaks your chan
| -rw-r--r-- | inc/config.php | 5 |
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 |
