cleaned up paths.
This commit is contained in:
12
phpunit.php
12
phpunit.php
@@ -3,7 +3,7 @@
|
||||
* Laravel - A PHP Framework For Web Artisans
|
||||
*
|
||||
* @package Laravel
|
||||
* @version 2.2.0 (Beta 1)
|
||||
* @version 3.0.0
|
||||
* @author Taylor Otwell <taylorotwell@gmail.com>
|
||||
* @link http://laravel.com
|
||||
*/
|
||||
@@ -25,19 +25,19 @@ $config = file_get_contents('phpunit.xml');
|
||||
|
||||
if (strpos($config, 'laravel-tests') !== false)
|
||||
{
|
||||
$path = $GLOBALS['BUNDLE_PATH'].'laravel-tests'.DS;
|
||||
$path = path('bundle').'laravel-tests'.DS;
|
||||
|
||||
$GLOBALS['APP_PATH'] = $path.'application'.DS;
|
||||
set_path('app', $path.'application'.DS);
|
||||
|
||||
$GLOBALS['BUNDLE_PATH'] = $path.'bundles'.DS;
|
||||
set_path('bundle', $path.'bundles'.DS);
|
||||
|
||||
$GLOBALS['STORAGE_PATH'] = $path.'storage'.DS;
|
||||
set_path('storage', $path.'storage'.DS);
|
||||
}
|
||||
|
||||
// --------------------------------------------------------------
|
||||
// Bootstrap the Laravel core.
|
||||
// --------------------------------------------------------------
|
||||
require $GLOBALS['SYS_PATH'].'core.php';
|
||||
require path('sys').'core.php';
|
||||
|
||||
// --------------------------------------------------------------
|
||||
// Start the default bundle.
|
||||
|
||||
Reference in New Issue
Block a user