diff options
Diffstat (limited to 'modules-available/roomplanner/page.inc.php')
-rw-r--r-- | modules-available/roomplanner/page.inc.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/modules-available/roomplanner/page.inc.php b/modules-available/roomplanner/page.inc.php index 7152f015..0d4b7ee9 100644 --- a/modules-available/roomplanner/page.inc.php +++ b/modules-available/roomplanner/page.inc.php @@ -19,6 +19,13 @@ class Page_Roomplanner extends Page if ($locationid === null) { die('please specify locationid'); } + if (Request::get('pvs', false, 'bool')) { + /* return a pvs-file */ + echo "<pre>"; + echo PvsGenerator::generate($locationid); + echo "</pre>"; + die(); + } $furniture = $this->getFurniture($locationid); $subnetMachines = $this->getPotentialMachines($locationid); |