mirror of
https://github.com/unraid/webgui.git
synced 2026-05-22 22:30:20 -05:00
initial commit
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<?PHP
|
||||
/* Copyright 2015, Lime Technology
|
||||
* Copyright 2015, Bergware International.
|
||||
*
|
||||
* 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.
|
||||
*/
|
||||
?>
|
||||
<?
|
||||
// write syslinux file
|
||||
write_log("Saving file $file");
|
||||
exec("mkdir -p ".dirname($file));
|
||||
file_put_contents($file, str_replace(array("\r\n","\r"), "\n", $_POST['text']));
|
||||
// discard settings
|
||||
$save = false;
|
||||
?>
|
||||
Reference in New Issue
Block a user