Wiki_認証 のバックアップ(No.1) - アールメカブ

アールメカブ


Wiki_認証 のバックアップ(No.1)


//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'
                 
// 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',
);