Skip to content
Permalink
Browse files

syntax

  • Loading branch information...
stevewithington committed Dec 11, 2017
1 parent a7b861e commit ea212c4bf0359cc0d8410584990cea15f2a8ea4f
Showing with 1 addition and 1 deletion.
  1. +1 −1 Application.cfc
@@ -20,7 +20,7 @@ component persistent="false" accessors="true" output="false" extends="includes.f

local.pluginPath = GetDirectoryFromPath(GetCurrentTemplatePath());
local.muraroot = Left(local.pluginPath, Find('plugins', local.pluginPath) - 1);
local.depth = ListLen(RemoveChars(local.pluginPath,1,len(local.muraroot)), '\/');
local.depth = ListLen(RemoveChars(local.pluginPath,1, Len(local.muraroot)), '\/');
local.includeroot = RepeatString('../', local.depth);

if ( DirectoryExists(local.muraroot & 'core') ) {

0 comments on commit ea212c4

Please sign in to comment.
You can’t perform that action at this time.