westdc-zf1/vendor/Sookon/User/Config.php

47 lines
980 B
PHP

<?php
namespace Sookon\User;
class Config
{
public $conf;
function __construct()
{
}
static function get()
{
$conf = new \stdClass();
$conf->ck = 'Dxe8SqIcmyUf';
$conf->table = new \stdClass();
$conf->field = new \stdClass();
$conf->role = new \stdClass();
$conf->form = new \stdClass();
$conf->table->member = "users";
$conf->field->uname = "username";
$conf->field->pwd = "password";
$conf->field->email = "email";
$conf->field->lastlogin = "ts_last_login";
$conf->field->lastip = "last_login_ip";
$conf->field->gravatar = "email";
$conf->field->realname = "realname";
$conf->role->member = "member";
$conf->role->admin = "admin";
$conf->role->guest = "guest";
$conf->form->uname = "username";
$conf->form->pwd = "password";
$conf->form->c_pwd = "confirm_password";
$conf->form->email = "email";
$conf->form->realname = "realname";
return $conf;
}
}