On Mon, May 17, 2010 at 8:21 PM, Richtermeister <[email protected]> wrote:
> IMHO symlinks are the best way and I wish they'd be used under windows
> as well (at least under Vista there's a junction type that works
> fairly well).

Just for information, symlink() in php5.3 is now supported on windows
vista/7, it creates junction points alright, but the only hassle is
that the php process needs to be ran as administrator for the call to
succeed. This means if you use the CLI php thingy, you have to run
your console app as admin first, it's not too bad if you know it, but
it's kind of a bad WTF for newcomers since the error message is
"Warning: symlink(): Cannot create symlink, error code(1314)", so I
think the code should maybe call symlink() and then copy the files
recursively if the call failed.

Cheers

-- 
Jordi Boggiano
@seldaek :: http://seld.be/

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to