config/config.php
author Markus Bröker<broeker.markus@googlemail.com>
Fri, 15 Sep 2017 09:58:42 +0200
changeset 49 611d4fe474d3
parent 45 a56e7f9a0463
permissions -rw-r--r--
Document Root nach public verschoben

<?php

/**
 * Konfigurationsbereich des Bröker Frameworks
 */
define('BFW_PATH', dirname(dirname(__FILE__)));

require_once BFW_PATH . '/classes/bfw/Configuration.php';
require_once BFW_PATH . '/vendor/autoload.php';

Logger::configure(bfw\Configuration::bfw_loggerConfiguration());
spl_autoload_register('bfw\Configuration::bfw_autoLoader');

// Session Handling
session_name('bfw-id');
session_start();