[dokuwiki] [patch] small install.php improvements

  • From: Andreas Haerter <dokuwiki@xxxxxxxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Thu, 07 Oct 2010 17:00:50 +0200

This is a multi-part message in MIME format.
Hi folks,

maybe someone wants to apply my small patch before "Lazy Sunday" will be
released?

Things changed:

1) Supress 'Warning: date() [function.date]: It is not safe to rely on
the system's timezone settings.'
The usage of date() is uncritical here. An alternative to '@' would be
the usage of gmdate() instead of date().

2) Allow '.' in superuser names. A dot should be uncritical in every
way. And outside the install.php usernames containing a dot are allowed.
Additionally, usernames like 'firstname.lastname' are very common.

-- 
Andreas <http://blog.andreas-haerter.com>

()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments












Other related posts: