title: Laravel custom validation issue
body: <p>I am trying to register a custom validation rule but it does not seem to work. I need either of 2 fields to be filled in. One is a URL(link) field and other is a File input(file_upload).
  Here is my custom validation:</p>
  
  <pre><code>Validator::register('file_check', function($attribute, $value, $parameters) {
      if (!trim($value) == "" || array_get(Input::file($parameters[0]), 'tmp_name')) {
          return true;
      }
      return false;
  });
  
  $messages = array(
      'file_check' =&gt; 'Please upload a file or provide a link to files.',
  );
  
  $rules = array(
      'link' =&gt; 'url|file_check:file_upload',
      'file_upload' =&gt; 'mimes:jpg,jpeg,gif,png,psd,ai,bmp,xls,xlsx,doc,docx,zip,rar,7z,txt,pdf'
  
  );
  $validation = Validator::make(Input::all(), $rules, $messages);
  
  if ($validation - &gt; fails()) {
      return Redirect::to('page') - &gt; with_errors($validation - &gt; errors) - &gt; with_input();
  }
  </code></pre>
  
  <p>Need help :)</p>
  
  <p><strong>EDITED</strong></p>
  
  <p>Also, I just noticed that the validation rule should accept "PSD" files but when I try to upload a PSD file it redirects with the error "Invalid file type".</p>