Текстовый логотип в подвале сайта

This commit is contained in:
Konstantin
2026-05-31 11:22:00 +03:00
parent 2aba593aa3
commit 42062344a1
2 changed files with 15 additions and 1 deletions
+14
View File
@@ -61,6 +61,20 @@ foreach(['name','email','telephone','address','open', 'comment'] as $item){
$data['config_' . $item] = $this->config->get('config_' . $item);
}
$data['logo_text'] = $this->config->get('config_logo_text');
if ($this->request->server['HTTPS']) {
$server = $this->config->get('config_ssl');
} else {
$server = $this->config->get('config_url');
}
if (is_file(DIR_IMAGE . $this->config->get('config_logo'))) {
$data['logo'] = $server . 'image/' . $this->config->get('config_logo');
} else {
$data['logo'] = '';
}
$this->load->model('localisation/zone');
foreach ($this->model_localisation_zone->getContacts() as $field => $value) {