自定义back_url
This commit is contained in:
parent
9947f8806f
commit
7e67952874
|
@ -15,7 +15,7 @@ class Config
|
||||||
{
|
{
|
||||||
|
|
||||||
foreach ($configs as $key => $val) {
|
foreach ($configs as $key => $val) {
|
||||||
$method = $this->camelCase($key);
|
$method = 'set'.$this->camelCase($key);
|
||||||
if (method_exists($method, $this)) {
|
if (method_exists($method, $this)) {
|
||||||
call_user_func([$this, $method], $val);
|
call_user_func([$this, $method], $val);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user