Skip to content

Commit

Permalink
Merge pull request #18 from NoxOrg/bugfix/templates
Browse files Browse the repository at this point in the history
- tenant folder fix
  • Loading branch information
jan-schutte authored Aug 8, 2023
2 parents 964f9b1 + c654252 commit 24573fb
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions public/workflows/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,10 @@
die();
}

//$tenantFolder = '/home/noxorg/public_ftp/incoming/' . $tenant . '/';

if ($requestedResource == 'templateInfo'){
$tenantFolder = './aabbccdd/templates';
$tenantFolder = '/home/noxorg/public_ftp/incoming/' . $tenant . '/';
} else {
$tenantFolder = './aabbccdd/' . $requestedResource;
$tenantFolder = '/home/noxorg/public_ftp/incoming/' . $tenant . '/' . $requestedResource;
}

if (!is_dir($tenantFolder)) {
Expand Down

0 comments on commit 24573fb

Please sign in to comment.