Created
September 5, 2011 14:26
-
-
Save fetus-hina/1195111 to your computer and use it in GitHub Desktop.
Zend_Service_Twitter を PHP 5.1 で動かすための無理矢理な動作変更継承
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 Xend_Service_Twitter extends Zend_Service_Twitter { | |
protected function _prepare($path) { | |
try { | |
parent::_prepare($path); | |
} catch(Zend_Uri_Exception $e) { | |
$this->_localHttpClient->resetParameters()->setUri($this->_uri->__toString()); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment