Skip to content

Commit

Permalink
modifies to fix #643
Browse files Browse the repository at this point in the history
  • Loading branch information
chapmandu committed Jul 19, 2016
1 parent 751542f commit 47158e2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions wheels/global/internal.cfm
Expand Up @@ -661,7 +661,8 @@
if (!ListFindNoCase(application.wheels.existingObjectFiles, loc.fullObjectPath) && !ListFindNoCase(application.wheels.nonExistingObjectFiles, loc.fullObjectPath))
{
// we have not yet checked if this file exists or not so let's do that here (the function below will return the file name with the correct case if it exists, false if not)
loc.file = $fileExistsNoCase(ExpandPath(loc.fullObjectPath & ".cfc"));
loc.file = $fileExistsNoCase(Expandpath(arguments.objectPath) & "/" & arguments.name & ".cfc");
if (IsBoolean(loc.file) && !loc.file)
{
// no file exists, let's store that if caching is on so we don't have to check it again
Expand Down Expand Up @@ -1149,4 +1150,4 @@
}
</cfscript>
<cfreturn loc.rv>
</cffunction>
</cffunction>

0 comments on commit 47158e2

Please sign in to comment.