uawdijnntqw1x1x1
IP : 13.58.26.236
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
/
wp-pagenavi
/
..
/
install
/
controller
/
startup
/
.
/
language.php
/
/
<?php class ControllerStartupLanguage extends Controller { public function index() { // Default language code $code = $this->config->get('language_default'); $languages = glob(DIR_LANGUAGE . '*', GLOB_ONLYDIR); foreach ($languages as $language) { $languages[] = basename($language); } if (isset($this->request->server['HTTP_ACCEPT_LANGUAGE'])) { $browser_languages = explode(',', $this->request->server['HTTP_ACCEPT_LANGUAGE']); foreach ($browser_languages as $browser_language) { if (in_array($browser_language, $languages)) { $code = $browser_language; break; } } } if (!isset($this->session->data['language']) || !is_dir(DIR_LANGUAGE . basename($this->session->data['language']))) { $this->session->data['language'] = $code; } // Language $language = new Language($this->session->data['language']); $language->load($this->session->data['language']); $this->registry->set('language', $language); } }
/home/sudancam/.trash/wp-pagenavi/../install/controller/startup/./language.php