PHP warnings in newer PHP versions when loading config

This commit is contained in:
Michael Save 2011-12-30 00:36:20 +11:00
parent 9bb0e1984d
commit 5095be4602

View File

@ -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']))