From f2212af9a6be482d18ba4ebceaf34987b91e68a7 Mon Sep 17 00:00:00 2001 From: shish Date: Tue, 20 May 2008 02:42:59 +0000 Subject: [PATCH] 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 --- ext/ext_manager/main.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ext/ext_manager/main.php b/ext/ext_manager/main.php index 99e57467..a1bcb076 100644 --- a/ext/ext_manager/main.php +++ b/ext/ext_manager/main.php @@ -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 {