[Seaside] Magma on seasidehosting
Lukas Renggli
renggli at gmail.com
Wed Aug 23 10:12:22 UTC 2006
> UnixFileDirectory>>directoryExists: filenameOrPath
> "Handles the special case of testing for the root dir: there isn't a
> possibility to express the root dir as full pathname like '/foo'."
>
> ^ filenameOrPath = '/'
> or: [ filenameOrPath = self class default
> or: [ super directoryExists: filenameOrPath ] ]
Ouch, I forgot a #pathName, try this instead:
UnixFileDirectory >>directoryExists: filenameOrPath
"Handles the special case of testing for the root dir: there isn't a
possibility to express the root dir as full pathname like '/foo'."
^ filenameOrPath = '/'
or: [ filenameOrPath = self class default pathName
or: [ super directoryExists: filenameOrPath ] ]
--
Lukas Renggli
http://www.lukas-renggli.ch
More information about the Seaside
mailing list