- 追加された行はこの色です。
- 削除された行はこの色です。
//User definition
* vi pukiwiki.ini.php [#q20675c2]
パスワード生成
$ echo -n 'pass' | md5sum
//User definition
$auth_users = array(
// Username => password
// 'foo' => 'foo_passwd', // Cleartext
// 'bar' => '{x-php-md5}pass', // PHP md5() 'bar_passwd'
'usrs' => '{x-php-md5}pass', // PHP md5() 'bar_passwd'
// 'bar' => '{x-php-md5}pass', // PHP md5() '
'usrs' => '{x-php-md5}pass', // PHP md5()
// Edit auth (0:Disable, 1:Enable)
$edit_auth = 1;
$edit_auth_pages = array(
// Regex Username
'/.*/' => 'users',
// '#BarDiary#' => 'bar',
// '#HogeHoge#' => 'hoge',
// '#(NETABARE|NetaBare)#' => 'foo,bar,hoge',
);