* Fix a problem where spartacus did not properly assign configured

permissions to downloaded directories, thanks to danilo from
      the forums!
This commit is contained in:
Garvin Hicking 2006-11-03 20:04:12 +00:00
parent b16733cf40
commit dec57bdf82
2 changed files with 6 additions and 1 deletions

View File

@ -3,6 +3,10 @@
Version 1.1 ()
------------------------------------------------------------------------
* Fix a problem where spartacus did not properly assign configured
permissions to downloaded directories, thanks to danilo from
the forums!
* Move trackback sending logic to the end when saving an entry.
Should get rid of event plugins not operating when trackbacks
painfully fail. Thanks to isotopp (garvinhicking)

View File

@ -34,7 +34,7 @@ class serendipity_event_spartacus extends serendipity_event
$propbag->add('description', PLUGIN_EVENT_SPARTACUS_DESC);
$propbag->add('stackable', false);
$propbag->add('author', 'Garvin Hicking');
$propbag->add('version', '2.7');
$propbag->add('version', '2.8');
$propbag->add('requirements', array(
'serendipity' => '0.9',
'smarty' => '2.6.7',
@ -726,6 +726,7 @@ class serendipity_event_spartacus extends serendipity_event
$url = $mirror . '/' . $sfloc . '/' . $file . '?rev=1.9999';
$target = $pdir . $file;
@mkdir($pdir . $plugin_to_install);
$this->fileperm($pdir . $plugin_to_install, true);
$this->fetchfile($url, $target);
if (!isset($baseDir)) {
$baseDirs = explode('/', $file);