1 |
diff -urN smeserver-userpanel-1.4.old/root/etc/e-smith/events/actions/conf-userpanelsymlinks smeserver-userpanel-1.4/root/etc/e-smith/events/actions/conf-userpanelsymlinks |
2 |
--- smeserver-userpanel-1.4.old/root/etc/e-smith/events/actions/conf-userpanelsymlinks 2014-08-22 19:08:39.000000000 +0400 |
3 |
+++ smeserver-userpanel-1.4/root/etc/e-smith/events/actions/conf-userpanelsymlinks 2020-11-04 16:21:22.487000000 +0400 |
4 |
@@ -75,8 +75,8 @@ |
5 |
if ( -e "/etc/e-smith/web/functions/$link" && |
6 |
! -e "/etc/e-smith/web/panels/user/cgi-bin/$link" ) |
7 |
{ |
8 |
- #symlink("../../../functions/$link", "/etc/e-smith/web/panels/user/cgi-bin/$link") || |
9 |
- link("/etc/e-smith/web/functions/$link", "/etc/e-smith/web/panels/user/cgi-bin/$link") || |
10 |
+ symlink("../../../functions/wrapper", "/etc/e-smith/web/panels/user/cgi-bin/$link") || |
11 |
+ #link("/etc/e-smith/web/functions/$link", "/etc/e-smith/web/panels/user/cgi-bin/$link") || |
12 |
warn "Couldn't link('functions/$link' to '/etc/e-smith/web/panels/user/cgi-bin/$link'): $!\n"; |
13 |
} |
14 |
} |