# istanbluebay (06.04.2017 / 16:19)
Thank you koenig
My phone and network is bad sorry
<img src="'.$config['homeurl'].'/images/logo/'.$config['logourl'].'">
johncms 6.2.1 где разместить ? head.php ?
.$config ?
johncms 6.2.1
sql
INSERT INTO `cms_settings` (`key`, `val`) VALUES
('logo_url', '')
logo.php line 119
mysql_query("REPLACE `cms_settingss` SET `val`='" . $ress['file'] . "', `key`='logo_url'");
replace
mysql_query("REPLACE `cms_settings` SET `val`='" . $ress['file'] . "', `key`='logo_url'");
incfiles/head.php
line75
'<td valign="bottom"><a href="' . $set['homeurl'] . '">' . functions::image('logo.gif', array('class' => '')) . '</a></td>' .
replace
'<td align="bottom"><a href="' . $set['homeurl'] . '"><img src="'.$set['homeurl'].'/images/logo/'.$set['logo_url'].'"></a></td>' .
Я сделал это таким образом. Спасибо
Update Logo Changer For JohnCMS 7.10
Feature:
√ without db
√ Fix code
Upload the archive and extract from root
If you only used johncms 7.0.0
Just upload file logo.php