| version 1.4, 2015/11/24 17:21:06 |
version 1.5, 2024/11/20 15:48:04 |
|
|
| * - Redistributions in binary form must reproduce the above copyright |
* - Redistributions in binary form must reproduce the above copyright |
| * notice, this list of conditions and the following disclaimer in the |
* notice, this list of conditions and the following disclaimer in the |
| * documentation and/or other materials provided with the distribution. |
* documentation and/or other materials provided with the distribution. |
| * - Neither the name of the authors, nor the names of its contributors |
* - Neither the name of the authors, nor the names of its contributors |
| * may be used to endorse or promote products derived from this |
* may be used to endorse or promote products derived from this |
| * software without specific prior written permission. |
* software without specific prior written permission. |
| * |
* |
| * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
|
|
| |
|
| // Update build parameters |
// Update build parameters |
| if (!empty($params) && is_array($params)) { |
if (!empty($params) && is_array($params)) { |
| while (list($key, $value) = each($params)) { |
foreach ($params as $key => $value) { |
| $this->build_params[$key] = $value; |
$this->build_params[$key] = $value; |
| } |
} |
| } |
} |
|
|
| public function get($params = null, $filename = null, $skip_head = false) |
public function get($params = null, $filename = null, $skip_head = false) |
| { |
{ |
| if (isset($params)) { |
if (isset($params)) { |
| while (list($key, $value) = each($params)) { |
foreach ($params as $key => $value) { |
| $this->build_params[$key] = $value; |
$this->build_params[$key] = $value; |
| } |
} |
| } |
} |
| |
|
| if (isset($this->headers['From'])) { |
if (isset($this->headers['From'])) { |