Created
July 28, 2010 17:39
-
-
Save ejhayes/495485 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
component { | |
public function setupRequest() { | |
if(structKeyExists(url, "init")) { | |
setupApplication(); | |
// remove the generated xml files since they don't remove themselves | |
hibernateFiles = directoryList(ExpandPath(this.ormsettings.cfclocation),false,"path","*.hbmxml"); | |
for(i=1;i LTE arrayLen(hibernateFiles); i++){ | |
FileDelete(hibernateFiles[i]); | |
} | |
// now reload the orm | |
ormReload(); | |
//location(url=".",addToken=false); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment