converted path constants to $GLOBALS.

This commit is contained in:
Taylor Otwell
2012-01-27 16:17:43 -06:00
parent 09d4b74cf1
commit f44c565ee4
28 changed files with 80 additions and 83 deletions

View File

@@ -16,7 +16,7 @@ class Publisher {
{
$path = Bundle::path($bundle);
$this->move($path.'public', PUBLIC_PATH.'bundles'.DS.$bundle);
$this->move($path.'public', $GLOBALS['PUBLIC_PATH'].'bundles'.DS.$bundle);
echo "Assets published for bundle [$bundle].".PHP_EOL;
}
@@ -41,7 +41,7 @@ class Publisher {
*/
protected function to($bundle)
{
return PUBLIC_PATH.'bundles'.DS.$bundle.DS;
return $GLOBALS['PUBLIC_PATH'].'bundles'.DS.$bundle.DS;
}
/**