config/config.php
author Markus Broeker<broeker.markus@googlemail.com>
Sun, 14 Feb 2016 14:58:55 +0100
changeset 38 41078fd1e80d
parent 28 29a3e34acf64
child 39 8b4f9c6136f4
permissions -rw-r--r--
Eingeschränkter Zugriff auf den logs Ordner

<?php

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

require_once BFW_PATH . '/classes/bfw/Configuration.php';
require_once BFW_PATH . '/library/log4php/Logger.php';

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

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