config/config.php
changeset 8 54ea0099329c
parent 7 3ed6f90e97d9
child 12 66b604c61e62
--- a/config/config.php
+++ b/config/config.php
@@ -1,10 +1,10 @@
 <?php
 
 /**
- *
+ * Konfigurationsbereich des Bröker Frameworks
  */
 
-define('TICKET_PATH', dirname(dirname(__FILE__)));
+define('BFW_PATH', dirname(dirname(__FILE__)));
 
 /**
  * Standard-Autoloader für die Basis-Klassen des Projekts
@@ -14,7 +14,7 @@
  */
 function bfw_autoLoader($class) {
     $nsClass = str_replace('\\', '/', $class);
-    $filename = sprintf('%s/classes/%s.php', TICKET_PATH, $nsClass);
+    $filename = sprintf('%s/classes/%s.php', BFW_PATH, $nsClass);
     $classPath = sprintf('classes/%s.php', $nsClass);
 
     if (file_exists($filename)) {
@@ -27,7 +27,7 @@
 }
 
 require_once 'library/log4php/Logger.php';
-Logger::configure(TICKET_PATH . '/config/log4php.xml');
+Logger::configure(BFW_PATH . '/config/log4php.xml');
 
 spl_autoload_register('bfw_autoLoader');