I love Serendipity. Thank you.
I'm using Serendipity 0.8.2 installed on a host server (virtual, linux, goDaddy).
I've been reading about the URL change in the Spartacus repository/plugin but I'm not entirely sure where I'm supposed to change it and to what I should change it.
How many places is "serendipity_event_spartacus.php" do I need to change the URL and what do I change it to?
An actual example of the code would be nice
Like, is this right?
Code: Select all
function &fetchOnline($type) {
switch($type) {
// Sanitize to not fetch other URLs
default:
case 'event':
$url_type = 'event';
break;
case 'sidebar':
$url_type = 'sidebar';
break;
}
$url = 'http://netmirror.org/mirror/serendipity/package_' . $url_type . '.xml';
$cacheTimeout = 60*60*12; // XML file is cached for half a day
$target = $serendipity['serendipityPath'] . 'templates_c/package_' . $url_type . '.xml';
Code: Select all
foreach($files AS $file) {
$url = 'Code: Select all
' . $file . '?rev=1.9999';
$target = $pdir . $file;
@mkdir($pdir . $plugin_to_install);
$this->fetchfile($url, $target);
if (!isset($baseDir)) {
$baseDirs = explode('/', $file);
$baseDir = $baseDirs[0];
}Also, will Spartacus be available at http://spartacus.s9y.org/ so that I can just download the correct version instead of fixing this one?