]> git.mjollnir.org Git - s9y.git/commitdiff
* Fix a problem where spartacus did not properly assign configured
authorgarvinhicking <garvinhicking>
Fri, 3 Nov 2006 20:05:56 +0000 (20:05 +0000)
committergarvinhicking <garvinhicking>
Fri, 3 Nov 2006 20:05:56 +0000 (20:05 +0000)
      permissions to downloaded directories, thanks to danilo from
      the forums!

docs/NEWS
plugins/serendipity_event_spartacus/serendipity_event_spartacus.php

index 7e5889afd2f12286e18e5e1186e05de8562a1488..fc9d72cb0dd1e65f29e35e847d3c5df49223495e 100644 (file)
--- a/docs/NEWS
+++ b/docs/NEWS
@@ -1,5 +1,16 @@
 # $Id$
 
+Version 1.0.3 ()
+------------------------------------------------------------------------
+
+   * Fix PHP 5.2.0 compatibility issue.
+   
+   * Some minor 1.1 bug backports:
+   
+     - Fix a problem where spartacus did not properly assign configured
+       permissions to downloaded directories, thanks to danilo from
+       the forums!
+                
 Version 1.0.2 (October 18th, 2006)
 ------------------------------------------------------------------------
 
index d42b278c373c7a22854a9b014a636b488fcaaf43..96be9fc5c733899a530b762549823a77429aaed2 100644 (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',
@@ -721,6 +721,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);