DominicWatson/cfstatic — Issue #15: Paths are not being created correctly (Railo issue maybe?)
Author: gregmoser
Created: 2011-10-24 22:10:39+00:00
State: open

I am getting started with cfstatic, and running into an issue. Here is how I have it initiated:

```cfml
application.cfStatic = createObject("component", "org.cfstatic.CfStatic").init(
staticDirectory = "C:\inetpub\wwwroot\nytrodev\default\includes\themes\nytro\static",
staticURL = "/default/includes/themes/nytro/static/",
);
```

It is imporatant to note that inside of that 'static' directory, I have the following directories: css, js, min

Then in my header I have this:
```cfml
#application.cfStatic.renderIncludes('css')#
```

However The include that gets created looks like this:
```html

```

It is clear that the file-name that is getting created is including the entire directory path, and not just the file-name. However what actually gets created is just a file named "C" that is blank.

I am using:
Windows 7 x64,
IIS 7,
Railo 3.3.001

I have not tested on Adobe Coldfusion yet, but I can if you like.