Add email notifications
This commit is contained in:
@@ -31,4 +31,11 @@ class Tool
|
||||
fclose($fp);
|
||||
}
|
||||
}
|
||||
|
||||
public static function loadModel(Registry $registry, $name)
|
||||
{
|
||||
$class = '\Model\\'.ucfirst($name);
|
||||
$registry->$name = new $class($registry);
|
||||
return $registry->shared($name);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user