[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
No Subject
Hi,
I have got a variable at the catalog.cfg
Variable ADMINUSER Myname
And I would like to use it in the following condition:
[if type=value term=__ADMINUSER__ op="=~" compare="/[data session
username]/"]
[then] Admin detected![/then]
[else] Admin not detected![/else]
[/if]
I mean, when the logged_in user is the ADMINUSER, write Admin detected, If
not then write Admin not detected.
It is simple, but not works. It is always Admin not detected. What could be
the reason? (Minivend 3.14-3)
Or is there a simplier way to do it?
Thanks,
Tamas