mirror of
https://github.com/unraid/webgui.git
synced 2026-01-01 06:59:56 -06:00
26 lines
907 B
Plaintext
26 lines
907 B
Plaintext
Title="Add VM"
|
|
Tag="clipboard"
|
|
Cond="(pgrep('libvirtd')!==false)"
|
|
Markdown="false"
|
|
---
|
|
<?PHP
|
|
/* Copyright 2005-2023, Lime Technology
|
|
* Copyright 2012-2023, Bergware International.
|
|
* Copyright 2015-2021, Derek Macias, Eric Schultz, Jon Panozzo.
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License version 2,
|
|
* as published by the Free Software Foundation.
|
|
*
|
|
* The above copyright notice and this permission notice shall be included in
|
|
* all copies or substantial portions of the Software.
|
|
*/
|
|
?>
|
|
<?
|
|
// add vm translations (if needed)
|
|
if (substr($_SERVER['REQUEST_URI'],0,4) != '/VMs') {
|
|
$vms = "$docroot/languages/$locale/vms.dot";
|
|
if (file_exists($vms)) $language = array_merge($language,unserialize(file_get_contents($vms)));
|
|
}
|
|
eval('?>'.parse_file("$docroot/plugins/dynamix.vm.manager/include/VMedit.php",false));
|
|
?> |