Allow '.' in superuser names. A dot should be uncritical in every way, outside the install.php usernames containing a dot are allowed. Additionall, usernames like 'firstname.lastname' are very common. --- install.php | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/install.php b/install.php index 98b729a..c24bca2 100644 --- a/install.php +++ b/install.php @@ -260,7 +260,7 @@ function check_data(&$d){ $ok = false; } if($d['acl']){ - if(!preg_match('/^[a-z0-9_]+$/',$d['superuser'])){ + if(!preg_match('/^[a-z0-9_\.]+$/',$d['superuser'])){ $error[] = sprintf($lang['i_badval'],$lang['i_superuser']); $ok = false; } @@ -295,7 +295,7 @@ function store_data($d){ $d['policy'] = (int) $d['policy']; // create local.php - $now = date('r'); + $now = @date('r'); $output = <<<EOT <?php /** -- 1.7.0.4 --------------030804090906010101050803-- -- DokuWiki mailing list - more info at http://www.dokuwiki.org/mailinglist