config/config.php
author Markus Broeker<broeker.markus@googlemail.com>
Sun, 14 Feb 2016 22:42:32 +0100
changeset 47 03388ec805b4
parent 45 a56e7f9a0463
permissions -rw-r--r--
Templates Ordner muss mit versioniert werden

<?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();