aboutsummaryrefslogtreecommitdiffstats
path: root/public/catalog/controller/extension/module/google_hangouts.php
blob: 5d61d87fd3b4e46e70f76959de4149b2093933cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?php
class ControllerExtensionModuleGoogleHangouts extends Controller {
	public function index() {
		$this->load->language('extension/module/google_hangouts');

		if ($this->request->server['HTTPS']) {
			$data['code'] = str_replace('http', 'https', html_entity_decode($this->config->get('module_google_hangouts_code')));
		} else {
			$data['code'] = html_entity_decode($this->config->get('module_google_hangouts_code'));
		}

		return $this->load->view('extension/module/google_hangouts', $data);
	}
}