added bundles and storage directory to dummy laravel test setup.

This commit is contained in:
Taylor Otwell
2012-01-18 14:27:01 -06:00
parent 813cd0d3b8
commit e0188f70c5
33 changed files with 17 additions and 4 deletions

View File

@@ -16,7 +16,10 @@ if ( ! isset($web)) $web = false;
// --------------------------------------------------------------
// Define the directory separator for the environment.
// --------------------------------------------------------------
define('DS', DIRECTORY_SEPARATOR);
if ( ! defined('DS'))
{
define('DS', DIRECTORY_SEPARATOR);
}
// --------------------------------------------------------------
// Define the path to the base directory.
@@ -67,7 +70,7 @@ foreach ($paths as $name => $path)
{
if ( ! defined($name))
{
$path = ($web) ? '../'.$path : $path;
if ($web) $path = "../{$path}";
define($name, realpath($path).DS);
}