/var/www/admin.tickoweb.be/lib/external/packages/tigron/skeleton-core/lib/Skeleton/Core/Config.php
*/
private static ?self $config = null;
/**
* Private (disabled) constructor
*
* @access private
*/
public function __construct() {
}
/**
* Get config vars as properties
*
* @throws Exception When accessing an unknown config variable, an Exception is thrown
* @access public
*/
public function __get(string $name): mixed {
if (!isset($this->config_data[$name])) {
throw new \Exception('Attempting to read unkown config key: '.$name);
}
return $this->config_data[$name];
}
/**
* Get config vars as properties
*
* @access public
*/
public function __set(string $name, mixed $value): void {
$this->config_data[$name] = $value;
}
/**
* Check if config var exists
*
* @access public
*/
public function __isset(string $key): bool {
if (!isset($this->config_data) or $this->config_data === null) {
Arguments
"Attempting to read unkown config key: placekit_api_key"
/var/www/admin.tickoweb.be/lib/base/Bootstrap.php
\Skeleton\Container\Control\Config::$service_dir = $root_path . '/lib/skeleton-service';
/**
* Example auhtentication
*/
\Skeleton\Vat\Check\Config::$kbo_authentication = [
'user' => 'ben@tickoweb.be',
'key' => 'bDRNV0hoNkZzMEVHbjcxNUIxL0diUGFpaWxrdVN6aFV1MVNWZUlYYU50V2wySTNa'
];
/**
* Pappers
*/
\Tickoweb\Pappers\Config::$access_token = $config->pappers_access_token;
\Tickoweb\Pappers\Config::$log_file = $root_path . '/tmp/log/pappers.log';
/**
* Placekit (Address Intelligence)
*/
\Tickoweb\Placekit\Config::$api_key = $config->placekit_api_key;
\Tickoweb\Placekit\Config::$log_file = $root_path . '/tmp/log/placekit.log';
}
}
/var/www/admin.tickoweb.be/webroot/handler.php
<?php
/**
* Initialize the application
*
* @author Christophe Gosiau <christophe@tigron.be>
* @author Gerry Demaret <gerry@tigron.be>
* @author David Vandemaele <david@tigron.be>
*/
declare(strict_types=1);
ini_set('display_errors', '1');
ini_set('display_startup_errors', '1');
error_reporting(E_ALL);
require_once '../lib/base/Bootstrap.php';
Bootstrap::boot();
\Skeleton\Core\Http\Handler::Run();