注释修正

This commit is contained in:
thinkphp
2016-05-23 14:33:28 +08:00
parent 5d2685cc85
commit 15df0ebf34
5 changed files with 4 additions and 4 deletions

View File

@@ -332,6 +332,7 @@ class Loader
*/
public static function validate($name = '', $layer = '', $appendSuffix = false)
{
$name = $name ?: Config::get('default_validate');
if (empty($name)) {
return new Validate;
}