| Server IP : 188.114.96.3 / Your IP : 216.73.216.143 Web Server : Apache System : Linux sv058.home.net.pl 6.8.2 husak_dirty_pages_fix #1 SMP PREEMPT_DYNAMIC Tue Apr 2 22:06:51 CEST 2024 x86_64 User : ( 3194769) PHP Version : 8.5.12 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /polana/admin/ |
Upload File : |
<?php
declare(strict_types=1);
require_once dirname(__DIR__).'/includes/functions.php';
require_admin_role();
header('Content-Type: text/plain; charset=UTF-8');
foreach([dirname(__DIR__,2).'/tklm-translate-private/keys.php',dirname(__DIR__).'/tklm-translate-private/keys.php'] as $i=>$p){
echo 'Lokalizacja '.($i+1).': '.(is_file($p)?(is_readable($p)?'PLIK ODCZYTYWALNY':'BRAK ODCZYTU'):'BRAK PLIKU').PHP_EOL;
if(is_file($p)&&is_readable($p)){
$v=require $p;
echo 'Typ: '.gettype($v).PHP_EOL;
if(is_array($v))foreach(['mojapolanasmakow.pl','polanasmakow.pl'] as $domain){
$k=$v[$domain]??null;
echo $domain.': '.(is_string($k)&&preg_match('/^[a-f0-9]{48}$/i',trim($k))?'POPRAWNY FORMAT':'BRAK LUB ZLY FORMAT').PHP_EOL;
}
}
}
echo 'PHP cURL: '.(extension_loaded('curl')?'OK':'BRAK').PHP_EOL;