Move case file to dynamix folder

This commit is contained in:
bergware
2019-01-12 08:26:43 +01:00
parent f7049668e6
commit f9ca7ea735
2 changed files with 2 additions and 2 deletions

View File

@@ -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;

View File

@@ -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");