Skip to content

Commit

Permalink
allow file to be imported from zip or current directory structure
Browse files Browse the repository at this point in the history
  • Loading branch information
mschierberl committed Jul 12, 2009
1 parent faba997 commit ecd0f14
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion handlers/varScoper.cfc
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
<cfcomponent>
<cfinclude template="../varscoper.cfc">
<cfif fileExists(expandPath("../varscoper.cfc"))>
<cfinclude template="../varscoper.cfc">
<cfelseif fileExists(expandPath("../varscoper/varscoper.cfc"))>
<cfinclude template="../varscoper/varscoper.cfc">
</cfif>
</cfcomponent>

0 comments on commit ecd0f14

Please sign in to comment.