Fix subscription path in link element

This commit is contained in:
Zach Copley 2009-12-29 03:52:02 +00:00
parent 3e6b80d3e9
commit fd33865258
1 changed files with 2 additions and 2 deletions

View File

@ -70,7 +70,7 @@ class RSSCloudPlugin extends Plugin
// set defaults // set defaults
$local_server = parse_url(common_path('/main/rsscloud/request_notify')); $local_server = parse_url(common_path('main/rsscloud/request_notify'));
if (empty($this->domain)) { if (empty($this->domain)) {
$this->domain = $local_server['host']; $this->domain = $local_server['host'];
@ -81,7 +81,7 @@ class RSSCloudPlugin extends Plugin
} }
if (empty($this->path)) { if (empty($this->path)) {
$this->path = '/main/rsscloud/request_notify'; $this->path = $local_server['path'];
} }
if (empty($this->funct)) { if (empty($this->funct)) {