mirror of https://gitee.com/karson/fastadmin.git
commit
c8e4c56e80
|
|
@ -59,7 +59,9 @@ class Common
|
||||||
\think\Cookie::set('think_var', $request->get('lang'));
|
\think\Cookie::set('think_var', $request->get('lang'));
|
||||||
}
|
}
|
||||||
// Form别名
|
// Form别名
|
||||||
class_alias('fast\\Form', 'Form');
|
if (!class_exists('Form')) {
|
||||||
|
class_alias('fast\\Form', 'Form');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public function addonBegin(&$request)
|
public function addonBegin(&$request)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue