[ic] if file in 5.0 working ?
racke at linuxia.de
Mon Mar 1 15:38:59 EST 2004
On Mon, 01 Mar 2004 15:25:55 -0500
Jon <prtyof5 at attglobal.net> wrote:
> > I pulled this from the archives which used to work in 4.9.x but doesn't
> > seem to since 5.0
> > With interchange markup it might look something like this
> > [if type=file term="some_dir/some_dir/[item-code].jpg"]
> > Yep it's here
> > [else]
> > Nope it aint
> > [/else]
> > [/if]
> Is it just me that is having a problem with the above example ?
> Since you can't use straight perl test methods such as if ( -e "file")
> from within IC I'm not sure what else to do to get around this
You can do that with the appropriate setting for SafeUntrap.
LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team
More information about the interchange-users