Created
April 12, 2016 19:03
-
-
Save opn/fc6d5b116b0c0f6c14892d3a33bc90b3 to your computer and use it in GitHub Desktop.
This handler returns the path to the revIgniter stack folder and ensures that it ends in a "/".
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function rig_StackFolder rigApplicationFolder | |
if the environment = "server" then | |
-- we don;t need to switch servers so revIgniter can handle this easily | |
return gApplicationFolder & "/" & "stacks/" | |
else | |
text_AddTrailing rigApplicationFolder, "/" | |
put "stacks/" after rigApplicationFolder | |
return rigApplicationFolder | |
end if | |
end rig_StackFolder |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment