uawdijnntqw1x1x1
IP : 3.149.244.91
Hostname : ns1.eurodns.top
Kernel : Linux ns1.eurodns.top 4.18.0-553.5.1.lve.1.el7h.x86_64 #1 SMP Fri Jun 14 14:24:52 UTC 2024 x86_64
Disable Function : mail,sendmail,exec,passthru,shell_exec,system,popen,curl_multi_exec,show_source,eval,open_base
OS : Linux
PATH:
/
home
/
sudancam
/
.trash
/
tyblue.6
/
..
/
admin.1
/
controller
/
.
/
event
/
language.php
/
/
<?php namespace Opencart\Admin\Controller\Event; class Language extends \Opencart\System\Engine\Controller { // view/*/before // Dump all the language vars into the template. public function index(string &$route, array &$args): void { foreach ($this->language->all() as $key => $value) { if (!isset($args[$key])) { $args[$key] = $value; } } } // controller/*/before // 1. Before controller load store all current loaded language data. public function before(string &$route, array &$args): void { $data = $this->language->all(); if ($data) { $this->language->set('backup', json_encode($data)); } } // controller/*/after // 2. After controller load restore old language data. public function after(string &$route, array &$args, mixed &$output): void { $data = json_decode($this->language->get('backup'), true); if (is_array($data)) { $this->language->clear(); foreach ($data as $key => $value) { $this->language->set($key, $value); } } } }
/home/sudancam/.trash/tyblue.6/../admin.1/controller/./event/language.php