Update functions.php

Fix for PHP Version < 5.3
Merge pull request #46 from philrandal/master

Fix error level for php < 5.3.0

E_DEPRECATED was added in php 5.3.0, earlier versions don't recognize it