for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
use SilverStripe\Assets\Upload;
/**
* A class for uploading files directly from the filesystem where we don't
* care about is_uploaded_file
*
* @author Marcus Nyeholt <[email protected]>
* @license BSD License http://silverstripe.org/bsd-license
*/
class FileLoader extends Upload
{
public function validate($tmpFile)
return true;
}