LittleDemon WebShell


Linux hosting5.siteguarding.com 3.10.0-962.3.2.lve1.5.88.el7.x86_64 #1 SMP Fri Sep 26 14:06:42 UTC 2025 x86_64
Path : /home/devsafetybis/op3038.dev.safetybis.com/catalog/controller/event/
File Upload :
Command :
Current File : /home/devsafetybis/op3038.dev.safetybis.com/catalog/controller/event/translation.php

<?php
class ControllerEventTranslation extends Controller {
	public function index(&$route, &$key) {
		$this->load->model('design/translation');
		
		$results = $this->model_design_translation->getTranslations($route);
		
		foreach ($results as $result) {
			if (!$key) {
				$this->language->set($result['key'], html_entity_decode( $result['value'], ENT_QUOTES, 'UTF-8'));
			} else {
				$this->language->get($key)->set($result['key'], html_entity_decode( $result['value'], ENT_QUOTES, 'UTF-8'));
			}
		}	
	}
}

LittleDemon - FACEBOOK
[ KELUAR ]