<?php /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ require_once __DIR__ . "/PayqrConfig.php"; if (isset($_GET["key"]) && $_GET["key"] == PayqrConfig::$logKey) { $text = PayqrLog::showLog(); } else { $text = "Введён неверный ключ доступа к логам"; } echo $text;