uawdijnntqw1x1x1
IP : 18.191.144.194
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,parse_ini_file,show_source,eval,open_base,symlink
OS : Linux
PATH:
/
home
/
sudancam
/
public_html
/
0d544
/
..
/
..
/
.trash
/
admin.2
/
..
/
quran
/
..
/
catalog.1
/
controller
/
event
/
language.php
/
/
<?php namespace Opencart\Catalog\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 &$output): 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/public_html/0d544/../../.trash/admin.2/../quran/../catalog.1/controller/event/language.php