Remove require_once from inside functions
Merge pull request #429 from jpfuentes2/andyleap-master

Remove require_once from inside functions