added package class.

This commit is contained in:
Taylor Otwell
2011-08-02 22:07:40 -05:00
parent f2363b1141
commit c70f090465
3 changed files with 40 additions and 7 deletions

View File

@@ -86,13 +86,6 @@ class Input {
*/
public static function file($key = null, $default = null)
{
if (strpos($key, '.') !== false)
{
list($file, $key) = explode('.', $key);
return Arr::get($_FILES[$file], $key, $default);
}
return Arr::get($_FILES, $key, $default);
}