mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-01-31 04:13:49 +01:00
PHP warnings in newer PHP versions when loading config
This commit is contained in:
parent
a2cb088001
commit
c732caf1c2
@ -79,12 +79,12 @@
|
||||
|
||||
if(!isset($config['uri_thumb']))
|
||||
$config['uri_thumb'] = $config['root'] . $board['dir'] . $config['dir']['thumb'];
|
||||
else
|
||||
elseif(isset($board['dir']))
|
||||
$config['uri_thumb'] = sprintf($config['uri_thumb'], $board['dir']);
|
||||
|
||||
if(!isset($config['uri_img']))
|
||||
$config['uri_img'] = $config['root'] . $board['dir'] . $config['dir']['img'];
|
||||
else
|
||||
elseif(isset($board['dir']))
|
||||
$config['uri_img'] = sprintf($config['uri_img'], $board['dir']);
|
||||
|
||||
if(!isset($config['uri_stylesheets']))
|
||||
|
Loading…
x
Reference in New Issue
Block a user