Created
February 18, 2013 09:44
-
-
Save mkdizajn/4976262 to your computer and use it in GitHub Desktop.
wordpress mutisite timthumb patch for prepand path
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
######## | |
wordpress multisite timthumb patch | |
######## | |
correct the rewrite prepand path with timthumb script! | |
open timthumb and locate: | |
if(preg_match('/https?:\/\/(?:www\.)?' . $this->myHost . '(?:$|\/)/i', $this->src)){ | |
//$this->src = preg_replace('/https?:\/\/(?:www\.)?' . $this->myHost . '/i', '', $this->src); | |
} | |
comment "this->..." line! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment