Move conf outside of webroot; fix func invocation