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

@@ -18,10 +18,10 @@ class File {
*
* <code>
* // Get the contents of a file
* $contents = File::get(APP_PATH.'routes'.EXT);
* $contents = File::get($GLOBALS['APP_PATH'].'routes'.EXT);
*
* // Get the contents of a file or return a default value if it doesn't exist
* $contents = File::get(APP_PATH.'routes'.EXT, 'Default Value');
* $contents = File::get($GLOBALS['APP_PATH'].'routes'.EXT, 'Default Value');
* </code>
*
* @param string $path