Hello,
I can not find the answer in the documentation so probably I am searching for the wrong term. Maybe you can point me in the right direction.
When building for desktop we can do for example:
#if TargetCocoa then…
Is there a built in function so that a web-application knows if it is deployed as cgi or standalone?
For example something like:
#if Standalone then…
#if CGI then…
Norman_P
(Norman P)
November 17, 2017, 5:48pm
2
If App.Mode = 0 Then
// CGI
ElseIf App.Mode = 1 Then
// Standalone
End If
See: http://documentation.xojo.com/index.php/WebApplication.Mode
Hello,
thanks Norman, I know that constants but I did dot find exactly what I am looking for there.
Thanks Phillip, that property seems to do the right thing!
Norman_P
(Norman P)
November 17, 2017, 7:11pm
6
yeah I see I misinterpretted what you were looking for