Текстовый логотип для витрины сайта
This commit is contained in:
@@ -750,6 +750,12 @@ class ControllerSettingSetting extends Controller {
|
||||
$data['config_logo'] = $this->config->get('config_logo');
|
||||
}
|
||||
|
||||
if (isset($this->request->post['config_logo_text'])) {
|
||||
$data['config_logo_text'] = $this->request->post['config_logo_text'];
|
||||
} else {
|
||||
$data['config_logo_text'] = $this->config->get('config_logo_text');
|
||||
}
|
||||
|
||||
if (isset($this->request->post['config_logo']) && is_file(DIR_IMAGE . $this->request->post['config_logo'])) {
|
||||
$data['logo'] = $this->model_tool_image->resize($this->request->post['config_logo'], 100, 100);
|
||||
} elseif ($this->config->get('config_logo') && is_file(DIR_IMAGE . $this->config->get('config_logo'))) {
|
||||
|
||||
Reference in New Issue
Block a user