Created
October 24, 2014 15:54
-
-
Save Majkl578/eb69a620b00117bde91e to your computer and use it in GitHub Desktop.
CURLFile fix for HHVM w/o 83a84147866fc73db7d2e0299f69c94738150436
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class FixedCurlFile extends CurlFile | |
{ | |
public function __construct($filename, $mimetype = '', $postname = '') | |
{ | |
parent::__construct($filename, $mimetype, $postname ?: $filename; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment