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:
parent
a658019697
commit
f2212af9a6
@ -109,6 +109,9 @@ class ExtManager extends Extension {
|
|||||||
// enable if currently disabled
|
// enable if currently disabled
|
||||||
if(!file_exists("ext/$fname")) {
|
if(!file_exists("ext/$fname")) {
|
||||||
if(function_exists("symlink")) {
|
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");
|
symlink("../contrib/$fname", "ext/$fname");
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user