mirror of
https://github.com/unraid/webgui.git
synced 2026-03-06 00:18:57 -06:00
Move case file to dynamix folder
This commit is contained in:
@@ -89,7 +89,7 @@ $names = implode(',',$names);
|
||||
$passwd = $nopass = 0;
|
||||
foreach ($users as $user) if ($user['passwd']=='yes') $passwd++; else $nopass++;
|
||||
|
||||
$boot = "/boot/config";
|
||||
$boot = "/boot/config/plugins/dynamix";
|
||||
$myfile = "case-model.cfg";
|
||||
$mycase = file_exists("$boot/$myfile") ? file_get_contents("$boot/$myfile") : false;
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
$docroot = $docroot ?? $_SERVER['DOCUMENT_ROOT'] ?: '/usr/local/emhttp';
|
||||
require_once "$docroot/webGui/include/Helpers.php";
|
||||
|
||||
$boot = "/boot/config";
|
||||
$boot = "/boot/config/plugins/dynamix";
|
||||
$file = $_GET['file'] ?? $_POST['file'];
|
||||
$model = $_POST['model'] ?? false;
|
||||
$exist = file_exists("$boot/$file");
|
||||
|
||||
Reference in New Issue
Block a user