Commit fd26c5d5 authored by Taylor Otwell's avatar Taylor Otwell

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

parents bc8fa357 c4639524
......@@ -103,6 +103,7 @@ return array(
'DB' => 'System\\DB',
'Download' => 'System\\Download',
'Eloquent' => 'System\\DB\\Eloquent',
'File' => 'System\\File',
'Form' => 'System\\Form',
'Hash' => 'System\\Hash',
'HTML' => 'System\\HTML',
......
<?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);
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment