fixed #166
fix unreachable statement in ls($path)
removed closing php tag for config file
Merge pull request #190 from kevinpapst/feature/autoconf

Update for func.php