replaceInAllPath() public static method

Replace a part in each path
public static replaceInAllPath ( string $source, string $target )
$source string
$target string
示例#1
0
/**
 * Replace a part in each path
 *
 * @param string $source
 * @param string $target
 */
function redirect_img_dir($source, $target)
{
    ImageRepo::replaceInAllPath($source, $target);
}