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

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