cleaned up paths.

This commit is contained in:
Taylor Otwell
2012-01-28 14:55:08 -06:00
parent 409e908964
commit 97fcea1e51
29 changed files with 86 additions and 81 deletions

View File

@@ -1,4 +1,4 @@
<?php namespace Laravel\CLI; isset($GLOBALS['APP_PATH']) or die('No direct script access.');
<?php namespace Laravel\CLI; defined('DS') or die('No direct script access.');
use Laravel\Bundle;
use Laravel\Config;
@@ -44,7 +44,7 @@ if (isset($_SERVER['cli']['db']))
* us to seamlessly add tasks to the CLI so that the Task class
* doesn't have to worry about how to resolve core tasks.
*/
require $GLOBALS['SYS_PATH'].'cli/dependencies'.EXT;
require path('sys').'cli/dependencies'.EXT;
/**
* We will wrap the command execution in a try / catch block and