/** * Dirty hack to reset the server url for picasa and all the related static variables. * * @static * @access public * @param string $url The url for picasa server * @return void */ public static function setPicasaUrl($url) { if ($url != "") { if (strpos($url, 'http://') !== false) { $url = substr($url, 7); } self::$PICASA_URL = $url; self::$BASE_QUERY_URL = 'http://' . self::$PICASA_URL . '/data/feed/api'; self::$BASE_ENTRY_QUERY_URL = 'http://' . self::$PICASA_URL . '/data/entry/api'; self::$BASE_MEDIA_QUERY_URL = 'http://' . self::$PICASA_URL . '/data/media/api'; } }