mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-02-21 21:19:36 +01:00
Merge branch 'AnonTheCuck-master'
This commit is contained in:
commit
8dcb6799d0
11
.gitignore
vendored
11
.gitignore
vendored
@ -45,3 +45,14 @@ favicon.ico
|
|||||||
/static/spoiler.png
|
/static/spoiler.png
|
||||||
|
|
||||||
/inc/locale/ja_JP/*
|
/inc/locale/ja_JP/*
|
||||||
|
|
||||||
|
#json
|
||||||
|
/boards.json
|
||||||
|
/boards-top20.json
|
||||||
|
/8archive.json
|
||||||
|
/tags.json
|
||||||
|
|
||||||
|
#board specific files
|
||||||
|
/*/main.js
|
||||||
|
/*/rules.txt
|
||||||
|
/stylesheets/board/*.css
|
||||||
|
@ -33,6 +33,7 @@ class Api {
|
|||||||
'sticky' => 'sticky',
|
'sticky' => 'sticky',
|
||||||
'locked' => 'locked',
|
'locked' => 'locked',
|
||||||
'bump' => 'last_modified',
|
'bump' => 'last_modified',
|
||||||
|
'embed' => 'embed',
|
||||||
);
|
);
|
||||||
|
|
||||||
$this->threadsPageFields = array(
|
$this->threadsPageFields = array(
|
||||||
|
@ -433,7 +433,6 @@ class Post {
|
|||||||
'clean_local_mod_id' => null,
|
'clean_local_mod_id' => null,
|
||||||
'clean_global_mod_id' => null,
|
'clean_global_mod_id' => null,
|
||||||
);
|
);
|
||||||
|
|
||||||
if ($config['cache']['enabled'])
|
if ($config['cache']['enabled'])
|
||||||
cache::set("post_clean_{$board['uri']}_{$this->id}", $this->clean);
|
cache::set("post_clean_{$board['uri']}_{$this->id}", $this->clean);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user