Merge branch 'develop' of github.com:taylorotwell/laravel into develop

This commit is contained in:
Taylor Otwell
2011-06-17 00:17:04 -05:00
2 changed files with 17 additions and 0 deletions

16
system/file.php Normal file
View File

@@ -0,0 +1,16 @@
<?php namespace System;
class File {
/**
* Get a file's extension.
*
* @param string $path
* @return string
*/
public static function extension($path)
{
return pathinfo($path, PATHINFO_EXTENSION);
}
}