diff options
| author | czaks <marcin@6irc.net> | 2015-03-10 12:48:59 +0100 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2015-03-10 12:48:59 +0100 |
| commit | bdb6001f3f7e93e0b9655c0491bbef6f1df8a5fa (patch) | |
| tree | 4f4007d1b090694746fc6d36a19dd8accfd3f8ca /inc/config.php | |
| parent | eb245c2970062620f349024922f8c48379ffea88 (diff) | |
support for slugified links; may introduce a few bugs
Diffstat (limited to 'inc/config.php')
| -rw-r--r-- | inc/config.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/inc/config.php b/inc/config.php index edbe7b2a..ac4acaa4 100644 --- a/inc/config.php +++ b/inc/config.php @@ -566,6 +566,9 @@ // Allow dice rolling: an email field of the form "dice XdY+/-Z" will result in X Y-sided dice rolled and summed, // with the modifier Z added, with the result displayed at the top of the post body. $config['allow_roll'] = false; + + // Use semantic URLs for threads, like /b/res/12345/daily-programming-thread.html + $config['slugify'] = false; /* * ==================== @@ -1118,8 +1121,10 @@ // Location of files. $config['file_index'] = 'index.html'; - $config['file_page'] = '%d.html'; + $config['file_page'] = '%d.html'; // NB: page is both an index page and a thread $config['file_page50'] = '%d+50.html'; + $config['file_page_slug'] = '%d-%s.html'; + $config['file_page50_slug'] = '%d-%s+50.html'; $config['file_mod'] = 'mod.php'; $config['file_post'] = 'post.php'; $config['file_script'] = 'main.js'; |
