"config": { "platform": { "php": "7.2" header('Content-Type: text/html; charset=utf-8'); session_start(); require_once('Include/config.php'); if(!defined('CONFIGURED')) { exit('Cannot be accessed directly'); } require_once('Include/Libs/validator.lib.php'); require_once('Include/Libs/mysql.lib.php'); $sql = new MySqlClass(); $overskrift = $sql->Custom("SELECT value FROM `ot_config` WHERE `key` = 'overskrift'"); $info_text = $sql->Custom("SELECT value FROM `ot_config` WHERE `key` = 'info_text'"); $tilmeldingsfrist = $sql->Custom("SELECT value FROM `ot_config` WHERE `key` = 'tilmeldingsfrist'"); ?>
Cannot be accessed directly