X-Git-Url: https://git.camperquake.de/gitweb.cgi?p=videosite.git;a=blobdiff_plain;f=libvideosite.pm;h=bf02068a3e104a595732ce367b6caa15f8db4bb7;hp=c39d9e5c79b8cd8bfdffadeb41810440c9f64028;hb=5979c22b30775fa2ebe09b3b415246d73a50bd17;hpb=aedf7360ae2ac6e69d0b2009603c46eedb0af7a2 diff --git a/libvideosite.pm b/libvideosite.pm index c39d9e5..bf02068 100644 --- a/libvideosite.pm +++ b/libvideosite.pm @@ -52,7 +52,12 @@ my $defaultconfig = { 'name' => 'direct', '_immutable' => '1', 'schemas' => {}, - } + }, + 'environment' => { + 'name' => 'environment', + '_immutable' => '1', + 'schemas' => {}, + }, }, 'config-version' => '2', }; @@ -86,7 +91,7 @@ my $videosite_commands = { 'set' => sub { _cmd_set(@_); }, - + 'show' => sub { _cmd_show(@_); }, @@ -279,7 +284,7 @@ sub _ploader { } _debug("Loaded %d plugins", $#g+1); - + return @g; } @@ -385,7 +390,7 @@ sub _config_list_add { _config_set($path, join(',', @c)); } -# +# # Remove an item from the list # sub _config_list_del {