document why this is, as it confused me when I read it :3

git-svn-id: file:///home/shish/svn/shimmie2/trunk@869 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
shish 2008-05-20 02:42:59 +00:00
parent a658019697
commit f2212af9a6

View File

@ -109,6 +109,9 @@ class ExtManager extends Extension {
// enable if currently disabled
if(!file_exists("ext/$fname")) {
if(function_exists("symlink")) {
// yes, even though we are in /, and thus the path to contrib is
// ./contrib, the link needs to be ../ because it is literal data
// which will be interpreted relative to ./ext/ by the OS
symlink("../contrib/$fname", "ext/$fname");
}
else {