X-Git-Url: https://git.mxchange.org/?p=shipsimu.git;a=blobdiff_plain;f=tests%2FConfigTest.php;h=7c70e61b7987f4a426f35c0a0d7cff1584bdfda3;hp=f8b1718b785a13ca27775b48485c2ff372cda1ce;hb=df33e264f3246f80756d7e2da55d7f7c40f9088c;hpb=b3e47fb693fb8d40868158b0192b3392b309d97a diff --git a/tests/ConfigTest.php b/tests/ConfigTest.php index f8b1718..7c70e61 100644 --- a/tests/ConfigTest.php +++ b/tests/ConfigTest.php @@ -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'); @@ -29,7 +29,7 @@ print (basename(__FILE__).": Init completed.\n\n"); * * @author Roland Haeder * @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