Dokuwiki - media chmod fix

I've experienced wrong permissions in newly uploaded media-files maybe cos i'm using suphp and php as cgi-module - no idea.

Adding a chmod did the job.

Changes: (dokuwiki-2005-02-18)

  • media.php
++    chmod($fn,0777-$conf['umask']);
      return true;
wiki/projects/php/dokuwiki/media-fix.txt · Last modified: 2005/05/22 19:06 by e-razor
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki