2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 16:56:54 +00:00
git-svn-id: https://svn.fhem.de/fhem/trunk@26220 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
betateilchen 2022-07-13 17:31:15 +00:00
parent 363ab9404e
commit 47a6c792f8

View File

@ -79,7 +79,7 @@ sub FHEMapi_Define($$) {
return "Usage: define <name> FHEMapi <infix> <directory> <friendlyname>" if(int(@a) != 2);
my $name= $a[0];
my $infix= 'api';
my $directory= AttrVal('global','modPath','.').'/www/api';
my $directory= '/opt/fhem/www/api';
my $friendlyname= 'FHEMapi';
$hash->{fhem}{infix}= $infix;