|
|
|
@ -23,6 +23,8 @@ else { |
|
|
|
|
EOF |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
my $adm = $pydio{'AdminInterface'} || 'disabled'; |
|
|
|
|
|
|
|
|
|
if (($homedir eq 'enabled') || ($homedir eq 'users')){ |
|
|
|
|
$OUT .=<<"EOF"; |
|
|
|
|
|
|
|
|
@ -114,10 +116,16 @@ $OUT .=<<'EOF'; |
|
|
|
|
// ADMIN REPOSITORY |
|
|
|
|
/* |
|
|
|
|
|
|
|
|
|
Settings interface is disabled because the configuration |
|
|
|
|
is managed by the SME Server templates system |
|
|
|
|
the configuration is managed by the SME Server templates system |
|
|
|
|
New repositories can be added using the smeserver-shared-folders |
|
|
|
|
contrib |
|
|
|
|
contrib. Use the admin interface of Pydio with care, and expect |
|
|
|
|
your customization to be lost next time tempaltes are expanded. |
|
|
|
|
Only usefull for debuging |
|
|
|
|
EOF |
|
|
|
|
|
|
|
|
|
$OUT .= '*/' if ($adm eq 'enabled'); |
|
|
|
|
|
|
|
|
|
$OUT .=<<'EOF'; |
|
|
|
|
|
|
|
|
|
$REPOSITORIES["ajxp_conf"] = array( |
|
|
|
|
"DISPLAY" => "Settings", |
|
|
|
@ -125,7 +133,11 @@ $REPOSITORIES["ajxp_conf"] = array( |
|
|
|
|
"DRIVER" => "ajxp_conf", |
|
|
|
|
"DRIVER_OPTIONS"=> array() |
|
|
|
|
); |
|
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
EOF |
|
|
|
|
$OUT .= '*/' unless ($adm eq 'enabled'); |
|
|
|
|
|
|
|
|
|
$OUT .=<<'EOF'; |
|
|
|
|
|
|
|
|
|
$REPOSITORIES["ajxp_user"] = array( |
|
|
|
|
"DISPLAY" => "Dashboard", |
|
|
|
|