[TYPO3-core] RFC: Treat symlinks as executable

Dmitry Dulepov dmitry at typo3.org
Tue Nov 7 13:41:36 CET 2006


Hi!

Michael Stucki wrote:
> technically I agree with your solution, but practically this is just a 
> slowdown of the process, isn't it?

Link != executable. We have symlinks for directories too :)

$exec = $path . $cmd;
is_executable(@is_link($exec) ? readlink($exec) : $exec))

-- 
Dmitry Dulepov

Web: http://typo3bloke.net/
Skype: callto:liels_bugs

"It is our choices, that show what we truly are,
far more than our abilities." (A.P.W.B.D.)



More information about the TYPO3-team-core mailing list