Invalid variable  should be
Merge pull request #3 from allain/master

Invalid Variable $smaInfo should be $mem in DefaultController