* Fixed Spartacus download URLs for SF.Net mirror
This commit is contained in:
parent
56f592a5cd
commit
5aa7eb721a
@ -3,6 +3,8 @@
|
|||||||
Version 1.5 ()
|
Version 1.5 ()
|
||||||
------------------------------------------------------------------------
|
------------------------------------------------------------------------
|
||||||
|
|
||||||
|
* Fixed Spartacus download URLs for SF.Net mirror
|
||||||
|
|
||||||
* Allow redirects when fetching remote images (garvinhicking)
|
* Allow redirects when fetching remote images (garvinhicking)
|
||||||
|
|
||||||
* Allow to define sort order for search-results (garvinhicking)
|
* Allow to define sort order for search-results (garvinhicking)
|
||||||
|
@ -868,8 +868,8 @@ class serendipity_event_spartacus extends serendipity_event
|
|||||||
}
|
}
|
||||||
|
|
||||||
$plugname = $pluginstack[$i]['template'];
|
$plugname = $pluginstack[$i]['template'];
|
||||||
$pluginstack[$i]['previewURL'] = $mirror . '/additional_themes/' . $plugname . '/preview.png?rev=1.9999';
|
$pluginstack[$i]['previewURL'] = $mirror . '/additional_themes/' . $plugname . '/preview.png?revision=1.9999';
|
||||||
$pluginstack[$i]['preview_fullsizeURL'] = $mirror . '/additional_themes/' . $plugname . '/preview_fullsize.jpg?rev=1.9999';
|
$pluginstack[$i]['preview_fullsizeURL'] = $mirror . '/additional_themes/' . $plugname . '/preview_fullsize.jpg?revision=1.9999';
|
||||||
$pluginstack[$i]['customURI'] = '&serendipity[spartacus_fetch]=' . $plugname;
|
$pluginstack[$i]['customURI'] = '&serendipity[spartacus_fetch]=' . $plugname;
|
||||||
$pluginstack[$i]['customIcon'] = '_spartacus';
|
$pluginstack[$i]['customIcon'] = '_spartacus';
|
||||||
|
|
||||||
@ -954,7 +954,7 @@ class serendipity_event_spartacus extends serendipity_event
|
|||||||
}
|
}
|
||||||
|
|
||||||
foreach($files AS $file) {
|
foreach($files AS $file) {
|
||||||
$url = $mirror . '/' . $sfloc . '/' . $file . '?rev=1.9999';
|
$url = $mirror . '/' . $sfloc . '/' . $file . '?revision=1.9999';
|
||||||
$target = $pdir . $file;
|
$target = $pdir . $file;
|
||||||
$this->rmkdir($pdir . $plugin_to_install,$sub);
|
$this->rmkdir($pdir . $plugin_to_install,$sub);
|
||||||
$this->fileperm($pdir . $plugin_to_install, true);
|
$this->fileperm($pdir . $plugin_to_install, true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user