Quantcast
Channel: Adobe Community : Discussion List - ColdFusion
Viewing all articles
Browse latest Browse all 6243

One directory above GetDirectoryFromPath(GetTemplatePath())

$
0
0

Hello, everyone.

 

I'm sure this is going to be super-easy for someone to answer.  I think I've seen the correct answer, before, and I am just not recalling it.

 

I've tried Googling it; finding a lot of stuff, but not the answer to my question.

 

In application.cfc, for this.mapping[], how do I indicate a directory one level "up" from current using GetDirectoryFromPath(GetTemplatePath())?

 

I've got a project in a main folder that contains an admin folder, each with their own application.cfc.  But admin is using components in the main folder, not it's own.

 

Components are in C:\ColdFusion10\cfusion\wwwroot\project\components\ and the admin is in C:\ColdFusion10\cfusion\wwwroot\project\admin\

 

V/r,

 

^_^


Viewing all articles
Browse latest Browse all 6243

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>