Skip to content
Snippets Groups Projects
  1. Jan 07, 2015
    • Andreas Gohr's avatar
      Remove error supression for file_exists() · 79e79377
      Andreas Gohr authored
      In an older version of PHP a file_exists() call would issue a warning
      when the file did not exist. This was fixed in later PHP releases. Since
      we require PHP 5.3 now, there's no need to supress any error here
      anymore. This might even give a minor performance boost.
      79e79377
  2. Oct 14, 2014
  3. Oct 10, 2014
    • Angus Gratton's avatar
      Fix for update messages never completely going away · 86c04d87
      Angus Gratton authored
      The existing logic for messages.txt requires some valid update
      response (ending in %) to the messages update check before it clears
      the current messages.
      
      However update.dokuwiki.org appears to return an empty string response
      if everything is up to date. (ie http://update.dokuwiki.org/check/46.1 )
      
      As a result if there are update messages in messages.txt they don't
      automatically go away after updating to the current version. The only
      time they change is when a newer release comes out. The upgrade plugin
      has logic in it to force a re-download of messages.txt, but currently
      this just re-downloads the old update messages.
      
      This change explicitly allows for "" as a valid "no messages"
      indicator (distinct from false, which is the HTTP error indicator.)
      86c04d87
  4. Sep 29, 2014
  5. Aug 15, 2014
  6. May 10, 2014
  7. Mar 06, 2014
  8. Feb 15, 2014
  9. Sep 11, 2013
  10. Aug 23, 2013
  11. Jun 02, 2013
  12. Apr 07, 2013
  13. Apr 01, 2013
  14. Dec 19, 2012
  15. Nov 12, 2012
  16. Nov 08, 2012
  17. Nov 06, 2012
  18. Aug 26, 2012
  19. Jul 28, 2012
  20. May 21, 2012
    • Robert Nitsch's avatar
      Fixes messages.txt's modification timestamp not being updated. · c07c5d93
      Robert Nitsch authored
      This bug occurs on systems where writing a zero-length string to an
      empty file does not update the file's modification timestamp.
      
      This leads to the messages.txt being downloaded almost endlessly, causing
      long delays for logged-in users. Visitors are not affected, because the
      messages.txt is only updated for logged-in users.
      c07c5d93
  21. Nov 08, 2011
  22. Nov 05, 2011
  23. Aug 20, 2011
  24. May 07, 2011
  25. May 02, 2011
  26. Jan 10, 2011
    • Michael Hamann's avatar
      Fix msg() calls when messages have already been printed · cc58224c
      Michael Hamann authored
      This commit fixes two bugs that occurred when msg() was called after
      html_msgarea() had already been called.
      - the $MSG array is now cleared when it has been printed (otherwise $MSG
        has been printed again when another msg() call was done)
      - headers_sent() didn't work for me, it always reported false although
        html_msgarea() had already been called which might be explainable with
        output buffering. This makes msg() now depend on the first call of
        html_msgarea() or headers_sent() in order to not to break msg() in
        ajax requests etc.
      cc58224c
  27. Sep 18, 2010
  28. Jun 27, 2010
  29. Jun 26, 2010
  30. Jun 24, 2010
    • Dominik Eckelmann's avatar
      fixed handling of MSG · 69266de5
      Dominik Eckelmann authored
      msg() now stores always the message to the MSG array until headers are
      sent. After this, a call of msg will print out all messages from the MSG
      array immediately through html_msgarea.
      This prevents double posting and losses of messages from the MSG array.
      69266de5
  31. Feb 08, 2010
  32. Feb 01, 2010
  33. Jan 31, 2010
    • Andreas Gohr's avatar
      first attempt to centralize all include loading · 16905344
      Andreas Gohr authored
      Classes are loaded throug PHP5's class autoloader, all other
      includes are just loaded by default. This skips a lot of
      require_once calls.
      
      Parser and Plugin stuff isn't handled by the class loader yet.
      16905344
  34. Jan 08, 2010
Loading