]> git.mxchange.org Git - shipsimu.git/blobdiff - tests/RequestTest.php
A lot rewrites and fixes for weak redirect methods
[shipsimu.git] / tests / RequestTest.php
index a257260109e944e925d31ab0ccc3c9e7ebea5ccc..0104f63504f428b16179b2672aab6129241b206d 100644 (file)
@@ -8,10 +8,10 @@ print (basename(__FILE__).": Init...\n");
 require(dirname(dirname(__FILE__)) . '/inc/config.php');
 
 // Load all include files
-require(PATH . 'inc/includes.php');
+require($cfg->readConfig('base_path') . 'inc/includes.php');
 
 // Load all game classes
-require(PATH . 'inc/classes.php');
+require($cfg->readConfig('base_path') . 'inc/classes.php');
 
 // Set default application
 FrameworkConfiguration::getInstance()->setConfigEntry('default_application', 'ship-simu');
@@ -30,7 +30,7 @@ print (basename(__FILE__).": Init completed.\n\n");
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright(c) 2007, 2008 Roland Haeder, this is free software
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, this is free software
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  * @see                        http://www.phpunit.de