mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-24 07:30:10 +01:00
fix upgrade path a little bit with a new catalog
This commit is contained in:
parent
a4dc0d03b7
commit
8a189e2380
@ -50,7 +50,7 @@
|
||||
if ($files[0]->file == 'deleted') continue;
|
||||
$post['file'] = $config['uri_thumb'] . $files[0]->thumb;
|
||||
|
||||
if ($settings['use_tooltipster']) {
|
||||
if (isset($settings['use_tooltipster']) && $settings['use_tooltipster']) {
|
||||
$post['muhdifference'] = ago(time() - $post['time']);
|
||||
|
||||
if ($post['last_reply'])
|
||||
@ -60,7 +60,7 @@
|
||||
$recent_posts[] = $post;
|
||||
}
|
||||
|
||||
$required_scripts = array('js/jquery.mixitup.min.js', 'js/jquery.tooltipster.min.js', 'js/catalog.js');
|
||||
$required_scripts = array('js/jquery.min.js', 'js/jquery.mixitup.min.js', 'js/jquery.tooltipster.min.js', 'js/catalog.js');
|
||||
|
||||
foreach($required_scripts as $i => $s) {
|
||||
if (!in_array($s, $config['additional_javascript']))
|
||||
|
Loading…
Reference in New Issue
Block a user